Declare all the parameters coming from the fragment shader input struct. Used to declare mandatories frontFacing (bool), normal (vec3f), worldPosition (vec3f), viewDirection (vec3f) and modelScale (vec3f) passed by the vertex shader, as well as optionals tangent (vec3f), bitangent (vec3f) and UV coordinates (vec2f). Eventual vertex colors will be handled by the get-base-color chunk.
Declare all the parameters coming from the fragment shader input struct. Used to declare mandatories
frontFacing
(bool
),normal
(vec3f
),worldPosition
(vec3f
),viewDirection
(vec3f
) andmodelScale
(vec3f
) passed by the vertex shader, as well as optionalstangent
(vec3f
),bitangent
(vec3f
) and UV coordinates (vec2f
). Eventual vertex colors will be handled by theget-base-color
chunk.