I’m working on this a bit now, will be updating it frequently for a while. DefFX is going to be modified to be a render target / post processing set only. Some materials have issues due to Defold bugs or something I don’t understand. Have to wait for more 3D features to be improved to prepare more advanced material shaders. Later I’ll make some godshaders which have multiple effects able to toggled and layered. And a PBR shader too. Plus more fun stuff that is going to make 3D games with Defold look good!
I am amazed. Awesome work on these shaders !
Somewhere in the forum i think, i saw a tut how to implement shadertoy shader into Defold. Is this something usefull for your shader-workflow ?
You should follow the shadertoy tutorial just to get the experience. Then look at these shaders and and test them with your models / adapt them to your needs. If vertex positions are off (I think these old shaders are wrong) then compare to the builtin material for models and make fixes as necessary.
I plan to rework this, clean it up, and make the materials a bit easier to use in the future! Plus make some more simple 3D game examples now that 3D is getting more love by engine/editor teams. Have to finish and publish some games made with Defold first.
Maybe a fresh/updated project more carefully curated! Could start a new thread/project for submitting useful materials for sprite/model broadly useful enough to be included in builtins.
I haven’t looked into the exact content of DefMaterial but I’m definitely not opposed to opening up builtins to include more things that are useful to our users.