SetMaterialShaderUniformVec4(object, string, string, float, float, float, float)
From NWN Lexicon
Jump to navigationJump to searchSets a vec4 material shader uniform override.
Parameters
- oObject
- The object to set the shader override upon.
- sMaterial
- Needs to be a material on that object.
- sParam
- Needs to be a valid shader parameter already defined on the material.
- fValue1
- You can specify a single float value to set just a float, instead of a vec4.
- fValue2
- The second float value in a vec4
- fValue3
- The third float value in a vec4
- fValue4
- The fourthfloat value in a vec4
Description
Sets a vec4 material shader uniform override.
Remarks
Version
This function was added in 1.74.8170 of NWN:EE.
Example
See Also
functions: | SetMaterialShaderUniformInt(), ResetMaterialShaderUniforms() |
author: Shadguy