mirror of
https://github.com/XProger/OpenLara.git
synced 2025-08-10 23:24:06 +02:00
fix shader cache for sky rendering in ambient pass
This commit is contained in:
@@ -76,6 +76,7 @@ struct ShaderCache {
|
||||
compile(Core::passAmbient, Shader::ROOM, fx | FX_UNDERWATER, rsFull | RS_DISCARD);
|
||||
compile(Core::passAmbient, Shader::SPRITE, fx, rsFull | RS_DISCARD);
|
||||
compile(Core::passAmbient, Shader::SPRITE, fx | FX_UNDERWATER, rsFull | RS_DISCARD);
|
||||
compile(Core::passAmbient, Shader::FLASH, fx, rsFull); // sky
|
||||
}
|
||||
|
||||
void prepareShadows(int fx) {
|
||||
|
Reference in New Issue
Block a user