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

Probe debug fragment shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec4 pos
 World space position.
 
in vec4 nor
 Normal in world space.
 
uniform uniform uniform vec4 shCoeffs [9]
 SH approximation of the environment irradiance.
 
uniform vec3 camPos
 Camera position in world space.
 
uniform float lod
 Level to fetch.
 
uniform int mode
 Display mod.
 
out vec4 fragColor
 Color.
 

Detailed Description

Probe debug fragment shader.

See also
GPUShaders::Common::Utils, GPUShaders::Common::Common_pbr

Member Function Documentation

◆ main()

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

Use the normalized position to read in the cube map.


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