mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 04:12:12 +00:00
- fix wrong uniform state
This commit is contained in:
parent
64cc7d2bc2
commit
9d02676f8f
2 changed files with 4 additions and 2 deletions
|
@ -3466,9 +3466,10 @@ namespace CodeImp.DoomBuilder.Data
|
|||
|
||||
// Begin fullbright shaderpass
|
||||
General.Map.Graphics.SetShader(ShaderName.world3d_fullbright);
|
||||
General.Map.Graphics.SetUniform(UniformName.fogsettings, new Vector4(-1.0f));
|
||||
|
||||
// Render to the six faces of the cube map
|
||||
for(int i = 0; i < 6; i++)
|
||||
for (int i = 0; i < 6; i++)
|
||||
{
|
||||
Matrix faceview = GetCubeMapViewMatrix((CubeMapFace)i);
|
||||
General.Map.Graphics.SetUniform(UniformName.world, mworld);
|
||||
|
|
|
@ -82,6 +82,7 @@ void RenderDevice::SetAlphaTestEnable(bool value)
|
|||
mAlphaTest = value;
|
||||
mNeedApply = true;
|
||||
mShaderChanged = true;
|
||||
mUniformsChanged = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue