Possible breaking change in Shader Nodes

For those who use shader nodes on master, I made a change that can break existing code.
The TextureFetch shader node has a “texture” input parameter that has been renamed to textureMap, as “texture” is actually a reserved word in glgl 1.5 for a function that replace texture2D, texture1D, texture3D, etc…

So if you have some error like “texture is not an input parameter of TextureFech shader node”, you just have to rename the input to textureMap in the j3md (each occurence).

4 Likes