SetShaderUniformFloat(object, int, float)
From NWN LexiconJump to navigationJump to search
Sets the global shader uniform for the player to the specified float.
- The player to set the shader override upon.
- A SHADER_UNIFORM_* constant.
- The float value to pass into the uniform.
Sets the global shader uniform for the player to the specified float. 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(), SetShaderUniformInt(), SetShaderUniformVec()|