I’m not so advanced in shaders, but I have adopted few 2D shaders from Shadertoy for post-processing of a single image (I think they should work on 3D render too) based on Shadertoy examples (links in fragment programs).
I hope it would be great for new devs who would like to apply some cool effects!
Because those are modified fragment programs I’m calling them:
Defragments is just a library of simple examples with fragment programs from Shadertoy adopted to work in Defold. Fragment programs are modifying a sprite in post-processing.
Actually, interestingly, none of these ‘properties’ are owned by the game object. If you double click the GO, so it opens in the outline, they all vanish. These are properties of the collection that relate to the GO; you can’t add a property to a GO. If you want to add a component to a GO: right click.
That shows up when the object was created outside the collection and then added to it (via Add Game Object File), rather than being created directly inside the collection (via Add Game Object).
Yeah, that’s it. Thank you for pointing this out. I’ve tried it myself and it’s true.
Certainly, the ‘path’ thing is very helpful. Good to know. Thanks again.