SetShaderUniformInt(object, int, int)
From NWN LexiconJump to navigationJump to search
Sets the global shader uniform for the player to the specified integer.
- The player to set the shader override upon.
- A SHADER_UNIFORM_* constant.
- The integer value to pass into the uniform.
Sets the global shader uniform for the player to the specified integer. These uniforms are not used by the base game and are reserved for module-specific scripting. You need to add custom shaders that will make use of them. In multiplayer, these need to be reapplied when a player rejoins.
This function was added in 1.86.8193.35 of NWN:EE.
|functions:||SetMaterialShaderUniformVec4(), ResetMaterialShaderUniforms(), SetShaderUniformFloat(), SetShaderUniformVec()|