I tried to move some of the Noise.ts into my custom layer as I'm working on a shader that will likely use noise and needed a starting point. The uniform values are set to the values in the Noise.ts, however, I keep getting the error about csm_DiffuseColor = lamina_finalColor;. Any insight into what may be going wrong would be much appreciated. Stuck =).
I think I traced down the issue; there was a comment between the last two lines of the fragment shader that was being compiled into the final string; removing that comment resolved the syntax error.
I tried to move some of the Noise.ts into my custom layer as I'm working on a shader that will likely use noise and needed a starting point. The uniform values are set to the values in the Noise.ts, however, I keep getting the error about
csm_DiffuseColor = lamina_finalColor;.
Any insight into what may be going wrong would be much appreciated. Stuck =).The Error
related deps: