You might be using this shader incorrectly.
First, let me explain that the shader’s behavior simply declares the shader, while the shader is applied to a node through an action.
For example, create a scene with cubeMesh1
and four light sources.
After add PSX Shader to behavior of the root node, add the lighting nodes, and enable the UseLight
.
And after that, call PSX Shader action to assign the shader to cubeMesh1
. I trigger the shader assignment in the "Before first drawing do something" event.