Skip to content

Commit

Permalink
fix shader cache for sky rendering in ambient pass
Browse files Browse the repository at this point in the history
  • Loading branch information
XProger committed Jan 11, 2019
1 parent 2aa1e13 commit 7b77d03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cache.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 7b77d03

Please sign in to comment.