mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-29 00:23:08 +00:00
support for model transition in shader
This commit is contained in:
1 parent
49e3116d74
commit
b4a5cb648c
2 files changed
+6
-2
No files matched your search
@@ -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);
|
||||
|
||||
|
||||
Reference in new issue
Block a user