🔧 Use methods shader I/O

This commit is contained in:
Simon Schneegans
2022-06-09 11:34:18 +02:00
parent b8335dd4e6
commit bf3aa0af93
3 changed files with 60 additions and 24 deletions
+2 -2
View File
@@ -109,7 +109,7 @@ class BMW%NICK%Effect {
{
type: Effect.ShaderUniform,
fragmentShader: this.shader,
uniform: "uForOpening",
uniform: "forOpening",
from: 1.0,
to: 1.0
}
@@ -143,7 +143,7 @@ class BMW%NICK%Effect {
{
type: Effect.ShaderUniform,
fragmentShader: this.shader,
uniform: "uForOpening",
uniform: "forOpening",
from: 0.0,
to: 0.0
}