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

Skybox shcoeffs fragment shader. More...

Public Member Functions

void main ()
 

Public Attributes

in vec3 pos
 Position in model space.
 
uniform vec4 shCoeffs [9]
 SH approximation of the environment irradiance (UBO).
 
out vec3 fragColor
 Color.
 

Detailed Description

Skybox shcoeffs fragment shader.

See also
GPUShaders::Common::Common_pbr

Member Function Documentation

◆ main()

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

Compute the environment ambient lighting contribution on the scene.


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