Per-draw shader knobs uploaded to the geometry pass settings UBO.
More...
#include <GeometryPass.h>
Per-draw shader knobs uploaded to the geometry pass settings UBO.
◆ operator<=>()
◆ EnableAO
| int Raven::ShaderSettingsData::EnableAO = 1 |
Non-zero to apply HBAO occlusion in the lighting calculation.
◆ PCFRadius
| int Raven::ShaderSettingsData::PCFRadius = 1 |
PCF kernel half-radius in shadow map texels.
◆ ShadowBias
| float Raven::ShaderSettingsData::ShadowBias = 0.001f |
Depth bias applied during shadow map lookup.
◆ ShadowMapSize
| int Raven::ShaderSettingsData::ShadowMapSize = 2048 |
◆ VisualizeAO
| int Raven::ShaderSettingsData::VisualizeAO = 0 |
Non-zero to visualise the raw AO buffer.
◆ VisualizeLightComplexity
| int Raven::ShaderSettingsData::VisualizeLightComplexity = 0 |
Non-zero to heat-map per-tile light counts.
◆ VisualizeNormals
| int Raven::ShaderSettingsData::VisualizeNormals = 0 |
Non-zero to visualise view-space normals as colour.
The documentation for this struct was generated from the following file: