1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-11-23 17:04:48 +00:00

support for model transition in shader

This commit is contained in:
Zeno Rogue
2025-09-09 16:20:12 +02:00
parent 49e3116d74
commit b4a5cb648c
2 changed files with 6 additions and 2 deletions

View File

@@ -837,6 +837,9 @@ void display_data::set_projection(int ed, ld shift) {
if(selected->uDepth != -1)
glUniform1f(selected->uDepth, vid.depth);
if(selected->uModelTrans != -1)
glUniform1f(selected->uModelTrans, pconf.model_transition);
if(selected->uCamera != -1)
glUniform1f(selected->uCamera, vid.camera);