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:
@@ -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