mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-12 23:44:13 +00:00
- Reverted Q3 translucency fix since it randomly made brushes
fully transparent in Doom3 mode. git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@148 8a3a26a2-13c4-0310-b231-cf6edde360e5
This commit is contained in:
parent
643984aa39
commit
4b67632be4
2 changed files with 6 additions and 5 deletions
5
CHANGES
5
CHANGES
|
@ -1,6 +1,11 @@
|
||||||
This is the changelog for developers, != changelog for the end user
|
This is the changelog for developers, != changelog for the end user
|
||||||
that we distribute with the binaries. (see changelog)
|
that we distribute with the binaries. (see changelog)
|
||||||
|
|
||||||
|
04/03/2007
|
||||||
|
namespace
|
||||||
|
- Reverted Q3 translucency fix since it randomly made brushes
|
||||||
|
fully transparent in Doom3 mode.
|
||||||
|
|
||||||
04/03/2007
|
04/03/2007
|
||||||
namespace
|
namespace
|
||||||
- Final update for installerfiles (Shaderman / namespace)
|
- Final update for installerfiles (Shaderman / namespace)
|
||||||
|
|
|
@ -2387,11 +2387,7 @@ void OpenGLShader::construct(const char* name)
|
||||||
state.m_colour[2] = 0;
|
state.m_colour[2] = 0;
|
||||||
state.m_colour[3] = 0.3f;
|
state.m_colour[3] = 0.3f;
|
||||||
state.m_state = RENDER_FILL|RENDER_DEPTHTEST|RENDER_CULLFACE|RENDER_BLEND|RENDER_COLOURWRITE|RENDER_DEPTHWRITE;
|
state.m_state = RENDER_FILL|RENDER_DEPTHTEST|RENDER_CULLFACE|RENDER_BLEND|RENDER_COLOURWRITE|RENDER_DEPTHWRITE;
|
||||||
|
state.m_sort = OpenGLState::eSortHighlight;
|
||||||
// The bug "Selecting translucent brushes, such as clip, cause them to disappear leaving
|
|
||||||
// only the red selection box." seems to be fixed by removing the next line.
|
|
||||||
|
|
||||||
// state.m_sort = OpenGLState::eSortHighlight;
|
|
||||||
state.m_depthfunc = GL_LEQUAL;
|
state.m_depthfunc = GL_LEQUAL;
|
||||||
}
|
}
|
||||||
else if(string_equal(name+1, "CAM_OVERLAY"))
|
else if(string_equal(name+1, "CAM_OVERLAY"))
|
||||||
|
|
Loading…
Reference in a new issue