The question is quite open, with a fundamental question, the OSL nodes are fantastic, but they have a great limitation, the fact that they don't work with "GPU" type renderings and moreover it doesn't seem to work at all on Eevee render. So I was wondering if it was possible somehow (Maybe with the help of some makeup) Convert an OSL node script to a blender node / nodes. This is a question to be directed to better research on the subject.
$\begingroup$
$\endgroup$
2
-
3$\begingroup$ Some, you can. One thing you can do in OSL that you can't, in nodes, is cast your own probing rays for sampling the scene in some way, If your node depends on that, no go. $\endgroup$– Robin Betts ♦Commented Apr 8, 2020 at 17:51
-
$\begingroup$ Is there any tool that does this, or do you have to study osl well? It looks very complicated $\endgroup$– Noob CatCommented Apr 9, 2020 at 16:10
Add a comment
|
1 Answer
$\begingroup$
$\endgroup$
2
There was an old project that does this:
https://github.com/LazyDodo/oslpy
It is better to wait for an EEVEE GLSL node in future and rewrite the shader in GLSL
-
$\begingroup$ note: if you want to convert a specific shader, it might be done manually, for loops though things have to be repeated manually $\endgroup$ Commented Apr 12, 2022 at 19:31
-
1$\begingroup$ Sounds interesting but sadly this doesn't seem to work very well $\endgroup$– Noob CatCommented Apr 12, 2022 at 20:05