MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / DeferredFogPass

Method DeferredFogPass

src/Nazara/Graphics/DeferredFogPass.cpp:135–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133 */
134
135 DeferredFogPass::DeferredFogPass()
136 {
137 m_pointSampler.SetAnisotropyLevel(1);
138 m_pointSampler.SetFilterMode(SamplerFilter_Nearest);
139 m_pointSampler.SetWrapMode(SamplerWrap_Clamp);
140
141 m_shader = BuildFogShader();
142 m_shaderEyePositionLocation = m_shader->GetUniformLocation("EyePosition");
143
144 m_states.depthBuffer = false;
145 }
146
147 DeferredFogPass::~DeferredFogPass() = default;
148

Callers

nothing calls this directly

Calls 5

BuildFogShaderFunction · 0.85
SetAnisotropyLevelMethod · 0.80
SetFilterModeMethod · 0.80
SetWrapModeMethod · 0.80
GetUniformLocationMethod · 0.80

Tested by

no test coverage detected