- fixed the burn shader.

This commit is contained in:
Christoph Oelckers 2020-06-09 22:06:19 +02:00
commit af7c2fb4e9
3 changed files with 7 additions and 1 deletions

View file

@ -338,6 +338,7 @@ void Wiper_Burn::SetTextures(FGameTexture *startscreen, FGameTexture *endscreen)
endScreen = endscreen;
BurnTexture = new FBurnTexture(WIDTH, HEIGHT);
auto mat = FMaterial::ValidateTexture(endScreen, false);
mat->ClearLayers();
mat->AddTextureLayer(BurnTexture, false);
}