OpenShadingLanguage icon indicating copy to clipboard operation
OpenShadingLanguage copied to clipboard

Advanced shading language for production GI renderers

Results 103 OpenShadingLanguage issues
Sort by recently updated
recently updated
newest added

Add example .osl shaders to the repo. These could target functionality from the MaterialX project, contain examples from other sources, or a combination of these. The exact location(s), specific content,...

Theres a few small references to tex based documentation which was recently removed to avoid duplication in the docs. In the main README.md, under the `Documentation` section there's mention of...

docs
good first issue
help wanted

``` color C = 0.5; printf("C = %c\n", C); ``` works in single point mode, not in batch mode. Changing to `%g` works for both.

bug
batch shading

Consider the following shader, in particular the declaration of the unsized array `param`: ``` shader test(int param[] = {}) { printf("array length %d\n", arraylength(param)); } ``` When running this in...

## Problem I have the suspicion that the following cast [in `llvm_util.cpp` line 4353](https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/blame/73e420999eccc1de0d8576f09e10edb5b71fee09/src/liboslexec/llvm_util.cpp#L4353 "https://github.com/AcademySoftwareFoundation/OpenShadingLanguage/blame/73e420999eccc1de0d8576f09e10edb5b71fee09/src/liboslexec/llvm_util.cpp#L4353") ist not correct, which results in a null value, which in turn results in a...

… vs. grabbing an additi onal context. ## Description No need for a 2nd set of heaps/buffers when the existing context can be reused. Reduces memory footprint which increases cache...

The need for a remap() function (also called efit() in VEX) is very common in shading, and it would be appreciated if the standard library included it natively. So far,...

I'm seeing a problem with batched execution that I've managed to distill to the repro case below with `testshade`. Basically, if I have an integer geometry attribute, then batched OSL...

batch shading

### Problem As a 3ds max user I am going to describe an issue with OSL from a 3ds max perspective, but I have been told that the issue is...

Greetings, I noticed that the project's CMake version is set to `3.15`, which should be sufficient for Apple platform builds. But I took a look at the source & couldn't...