Seeking help on SO as a final attempt to resolve an issue with the latest Three.JS, as my Google searches have turned up empty.
I am working with the Ashima Perlin noise shader (examples here) -
Everything runs smoothly with version 48 of Three.JS, but when I try to upgrade to the latest version (59), I encounter the following error:
ERROR: 0:301: 'objectMatrix' : undeclared identifier
ERROR: 0:301: 'objectMatrix' : left of '[' is not of type array, matrix, or vector
ERROR: 0:301: 'xyz' : field selection requires structure, vector, or matrix on left hand side
ERROR: 0:301: 'objectMatrix' : left of '[' is not of type array, matrix, or vector
ERROR: 0:301: 'xyz' : field selection requires structure, vector, or matrix on left hand side
ERROR: 0:301: 'objectMatrix' : left of '[' is not of type array, matrix, or vector
ERROR: 0:301: 'xyz' : field selection requires structure, vector, or matrix on left hand side
ERROR: 0:301: 'constructor' : not enough data provided for construction
three.min.js:40
Usually, I would debug and fix issues like this for others, but my lack of C knowledge and shader expertise is hindering my ability to troubleshoot this problem.