I’ve been using for a file (thanks !) and just recently finished up my landscape shader, using a material function that among other things contain POM material network. It worked great after figuring out which height maps to reference since there’s tons of maps in material. However, today when working on something else I noticed that it’s not working anymore, most materials doesn’t have any effect and some of them do but reference the wrong height map. I haven’t touched the material since I got it to work so I have no idea why it isn’t working.
I don’t know much about custom HLSL code works. Any idea why the sampler IDs have changed? Also, how can I prevent it from happening again?
Is there any way of knowing which ID a texture sampler have or can I somehow edit the code to reference from an input or something so it doesn’t have to be set in the code by hand?
Thanks in advance!