First of all, just to clarify, it’s a vertex program
And there isn’t much issue in here, it’s the rest of the project. There are several issues in the repro. It is not building on Windows.
One issue is regarding not existing functions, like texture() - there is texture2D(), you might want to use. And not existing/defined uniforms, e.g. texture(iChannel0, reflect_direction) - this is common, when using code from Shadertoy, because it defines different names, check out my issues here:
In rest of the materials, many times materials have incorrectly defined constants or samplers, like for example empty string used for sampler name here:
Check out the manual first: (sadly, it’s the one I didn’t translate to Polish yet
)
and maybe my tutorial:
P.S.
I’m also working on updating Defluid example slowly, sadly very slowly, so if you want to rely on me here, you have to be patient, as I have really tight schedule already
It can be done way better now with all the new features in Defold, especially custom vertex attributes.
Explain to me or us here the final effect you want to achieve and we’ll try to help ![]()
