Skip to content

Commit 7b77d03

Browse files
committed
fix shader cache for sky rendering in ambient pass
1 parent 2aa1e13 commit 7b77d03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/cache.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ struct ShaderCache {
7676
compile(Core::passAmbient, Shader::ROOM, fx | FX_UNDERWATER, rsFull | RS_DISCARD);
7777
compile(Core::passAmbient, Shader::SPRITE, fx, rsFull | RS_DISCARD);
7878
compile(Core::passAmbient, Shader::SPRITE, fx | FX_UNDERWATER, rsFull | RS_DISCARD);
79+
compile(Core::passAmbient, Shader::FLASH, fx, rsFull); // sky
7980
}
8081

8182
void prepareShadows(int fx) {

0 commit comments

Comments
 (0)