Hey! hi,thanks for answer, good to hear,any improvements are welcome.
I manage a workaround that fits my goal.
Simply, globalArrayNode--->breakComponentsNode, just take one value---->multiplyNode by zero ----> AddNode to something( adding zero,no effects)
With that i get ASE compiling globalArray ...
Search found 2 matches
- Tue Aug 21, 2018 9:25 pm
- Forum: Amplify Shader Editor
- Topic: Matrix Array in custom expression for
- Replies: 4
- Views: 2294
- Tue Aug 21, 2018 12:16 pm
- Forum: Amplify Shader Editor
- Topic: Matrix Array in custom expression for
- Replies: 4
- Views: 2294
Matrix Array in custom expression for
Hi, i need to send and array of matrix4x4 from script to shader and then pass it to a custom expression and use in "for" bucle.
I send with " oceanMat.SetMatrixArray(waves_shaderPropertyID, matrixGerstnerWaves); "
and shader have his global array node.
ok,no error,i think its correct.
Well the ...
I send with " oceanMat.SetMatrixArray(waves_shaderPropertyID, matrixGerstnerWaves); "
and shader have his global array node.
ok,no error,i think its correct.
Well the ...