Interface IIOptionShadowDepthMaterial
Hierarchy
- IIOptionShadowDepthMaterial
Index
Properties
Properties
Optional remapped VariablesSearch playground for remappedVariables
Variables in the vertex shader code that need to have their names remapped. The format is: ["var_name", "var_remapped_name", "var_name", "var_remapped_name", ...] "var_name" should be either: worldPos or vNormalW So, if the variable holding the world position in your vertex shader is not named worldPos, you must tell the system the name to use instead by using: ["worldPos", "myWorldPosVar"] assuming the variable is named myWorldPosVar in your code. If the normal must also be remapped: ["worldPos", "myWorldPosVar", "vNormalW", "myWorldNormal"]
Optional standaloneSearch playground for standalone
Set standalone to true if the base material wrapped by ShadowDepthMaterial is not used for a regular object but for depth shadow generation only
Options to be used when creating a shadow depth material