Skip to content

Commit e548f91

Browse files
committed
Oops, need to mark diffuse color as dirty.
1 parent 5a42835 commit e548f91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

FinModelUtility/Fin/Fin.Ui/src/rendering/gl/material/GlStandardMaterialShader.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ protected override void PassUniformsAndBindTextures(
6767
diffuseColorVector?.A ?? 255) /
6868
255;
6969

70-
this.diffuseColor_.SetAndMaybeMarkDirty(diffuseColor);
70+
// TODO: Can we switch this to only be updated sometimes?
71+
this.diffuseColor_.SetAndMarkDirty(diffuseColor);
7172
}
7273
}

0 commit comments

Comments
 (0)