mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-23 04:12:39 +00:00
Fix annoying bug where transparent surfaces wouldn't draw over skyboxes. Thanks to Stefan Langer a.k.a. #@ for providing the fix.
This commit is contained in:
parent
f03d8857e8
commit
15fe54a6e7
1 changed files with 1 additions and 2 deletions
|
@ -2282,9 +2282,8 @@ static shader_t *FinishShader( void ) {
|
|||
shader.numUnfoggedPasses = stage;
|
||||
|
||||
// fogonly shaders don't have any normal passes
|
||||
if ( stage == 0 ) {
|
||||
if (stage == 0 && !shader.isSky)
|
||||
shader.sort = SS_FOG;
|
||||
}
|
||||
|
||||
// determine which stage iterator function is appropriate
|
||||
ComputeStageIteratorFunc();
|
||||
|
|
Loading…
Reference in a new issue