Probe pbr fragment shader.
More...
|
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.
|
|
◆ 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:
- resources/pbrdemo/shaders/deferred/probe_pbr.frag