support for model transition in shader

This commit is contained in:
Zeno Rogue
2025-09-09 16:21:20 +02:00
parent 49e3116d74
commit b4a5cb648c
2 changed files with 6 additions and 2 deletions
+3
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);