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

Probe pbr fragment shader. More...

Public Member Functions

void main ()
 

Public Attributes

uniform uniform uniform vec4 shCoeffs [9]
 SH approximation of the environment probe irradiance (UBO).
 
uniform mat4 inverseV
 The view to world transformation matrix.
 
uniform vec4 projectionMatrix
 The camera projection matrix.
 
uniform vec3 cubemapPos
 The cubemap location.
 
uniform vec3 cubemapCenter
 The cubemap parallax box center.
 
uniform vec3 cubemapExtent
 The cubemap parallax box half size.
 
uniform vec3 cubemapSize
 The cubemap effect box half size.
 
uniform vec2 cubemapCosSin
 The cubemap parallax box orientation (precomputed cos/sin).
 
uniform float cubemapFade
 The cubemap effect box fade zone size.
 
uniform float maxLod
 Mip level count for the cubemap.
 
out vec4 fragColor
 Color.
 

Detailed Description

Probe pbr fragment shader.

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

Member Function Documentation

◆ main()

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

Compute the environment probe ambient lighting contribution on the scene.


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