Parameters used to create the shader chunk.
Optional
geometry?: GeometryGeometry to use to check for tangent
and bitangent
attributes.
Optional
normalTexture?: ShaderTextureDescriptorNormal texture descriptor to use if any.
normal
(vec3f
), geometryNormal
(vec3f
), tangent
(vec3f
) and bitangent
(vec3f
) values set.
Set the
normal
(vec3f
),geometryNormal
(vec3f
), and eventuallytangent
(vec3f
) andbitangent
(vec3f
) values if a normal texture is set.Tangent and bitangent are calculated using derivatives if the Geometry
tangent
andbitangent
attributes are missing.