On openshading the FAQ says:

OSL only works on the CPU for now. It would be possible to port the system to GPU, but it would require a lot of work. There are no immediate plans for it.

What does this mean? Does this affect only OSL script nodes? I noticed that a a OSL script wave_rot.osl is compiled in wave_rot.oso which looks like assembly source code (but not for ia64 so I guess it is code for CUDA).


From the wiki:

Users can now create their own nodes using the Open Shading Language (OSL). Note that these nodes will only work for CPU rendering; there is no support for running OSL code on the GPU.

Quote from Brecht:

The main issue is to get OSL working on the GPU. It's almost as much work as building Cycles itself. It's not easy to do so we need more people to help us.

The oso file just contains the shader compiled bytecode.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.