We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b61fa7 commit 7e7f892Copy full SHA for 7e7f892
1 file changed
prpr/src/core/effect.rs
@@ -165,7 +165,7 @@ impl Effect {
165
for uniform in &self.uniforms {
166
uniform.apply(&self.material);
167
}
168
- self.material.set_uniform("time", self.t);
+ self.material.set_uniform("time", self.t as f32);
169
let target = res.chart_target.as_mut().unwrap();
170
target.swap();
171
let tex = target.old().texture;
0 commit comments