- Add gl_shadowmap_quality cvar that controls the resolution of the 1D shadow map texture
This commit is contained in:
parent
265df4b797
commit
7acb492852
8 changed files with 47 additions and 14 deletions
|
|
@ -40,6 +40,7 @@ void FShadowMapShader::Bind()
|
|||
mShader.SetFragDataLocation(0, "FragColor");
|
||||
mShader.Link("shaders/glsl/shadowmap");
|
||||
mShader.SetAttribLocation(0, "PositionInProjection");
|
||||
ShadowmapQuality.Init(mShader, "ShadowmapQuality");
|
||||
}
|
||||
mShader.Bind();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue