Object emissive gbuffer fragment shader.
More...
|
|
in mat4 | tbn |
| | Normal to view matrix.
|
| |
|
in vec4 | uv |
| | UV coordinates.
|
| |
|
uniform uniform out vec4 | fragColor |
| | Color.
|
| |
|
uniform out vec4 | fragNormal |
| | View space normal.
|
| |
|
uniform out vec4 | fragEffects |
| | Effects.
|
| |
|
uniform uniform bool | hasUV |
| | Does the mesh have texture coordinates.
|
| |
◆ main()
| void GPUShaders::Frag::Object_emissive_gbuffer::main |
( |
| ) |
|
|
inline |
Transfer emissive along with the material ID, normals and roughness info.
The documentation for this class was generated from the following file:
- resources/pbrdemo/shaders/deferred/object_emissive_gbuffer.frag