I want to convert some procedural textures to OSL (see shaders.co.uk) but also want to support CPU and GPU rendering. I can see that the built-in shaders work for CPU and GPU but I can’t find the CUDA or OPENCL representations in the source code. Does anyone have any insight as to how to create a texture that works for both (even though I may have to write the CUDA/OPENCL implementation)?
Thanks in advance
RJJ