support for model transition in shader

This commit is contained in:
Zeno Rogue committed 2025-09-09 16:21:20 +02:00
1 parent 49e3116d74
commit b4a5cb648c
2 files changed
+6 -2

No files matched your search

+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);