Rendu
A lightweight rendering engine for experimentations
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
GPUShaders::Frag::Object_sheen_gbuffer Class Reference

Object sheen gbuffer fragment shader. More...

Public Member Functions

void main ()
 

Public Attributes

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.
 

Detailed Description

Object sheen gbuffer fragment shader.

See also
GPUShaders::Common::Samplers, GPUShaders::Common::Materials, GPUShaders::Common::Utils

Member Function Documentation

◆ main()

void GPUShaders::Frag::Object_sheen_gbuffer::main ( )
inline

Transfer albedo and effects along with the material ID, and output the final normal (combining geometry normal and normal map) in view space.


The documentation for this class was generated from the following file: