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

Object prepass forward fragment shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec4 n
 Normal direction.
 
in vec2 uv
 Texture coordinates.
 
uniform uniform bool hasMask
 Alpha masking applied.
 
out vec4 fragNormal
 Geometric normal.
 

Detailed Description

Object prepass forward fragment shader.

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

Member Function Documentation

◆ main()

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

Just output the interpolated normal.


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