Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/src/engine/renderer/tr_shader.cpp b/src/engine/renderer/tr_shader.cpp
- index 5c31668ab..7f4d8149a 100644
- --- a/src/engine/renderer/tr_shader.cpp
- +++ b/src/engine/renderer/tr_shader.cpp
- @@ -5180,6 +5180,15 @@ static void FinishStages()
- continue;
- }
- + if ( stage->type == stageType_t::ST_DIFFUSEMAP || stage->type == stageType_t::ST_COLLAPSE_DIFFUSEMAP )
- + {
- + if ( !( ( shader.contentFlags & CONTENTS_SOLID ) || !( shader.surfaceFlags & SURF_NONSOLID ) ) )
- + {
- + stage->bundle[ TB_COLORMAP ].image[ 0 ] = tr.flatImage;
- + stage->type = stageType_t::ST_COLORMAP;
- + }
- + }
- +
- switch ( stage->type )
- {
- case stageType_t::ST_REFRACTIONMAP:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement