#How to add ShaderToy shader into R3F ?

8 messages · Page 1 of 1 (latest)

calm umbra
#

I want to add ShaderToy shader into my 3d model geometries so i can use it in R3F but i am not sure where to start , also does it work for all geometries sizes or i will have to edit values to make it work for my 3d model ?

uncut cradle
#

This completely depends on the shader, and often time it will need to be rewritten since they aren't mesh based.

calm umbra
uncut cradle
#

They are unaffiliated and work in a different rendering paradigm. Some are more portable than others, I can maybe point out how it can relate to a mesh if you share an example.

calm umbra
uncut cradle
#

Looking at the shader, you can probably render it to a texture and use as an environment map. This is what it looks like without it.