diff options
author | David Thompson <dthompson2@worcester.edu> | 2021-05-10 17:18:01 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-05-10 17:18:01 -0400 |
commit | 8b6e1945f14fa48208076139060c53ac332b3f0d (patch) | |
tree | 655551ac43ac1ec11cf962e1d9bc68c8984e179b /data | |
parent | 62570faa3ff4d3664dab3035a3cf9d4bd58014a1 (diff) |
graphics: pbr: Shade blue when there is no vertex color or base color.
Diffstat (limited to 'data')
-rw-r--r-- | data/shaders/pbr-frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/shaders/pbr-frag.glsl b/data/shaders/pbr-frag.glsl index 5b21fe1..4573eaf 100644 --- a/data/shaders/pbr-frag.glsl +++ b/data/shaders/pbr-frag.glsl @@ -74,7 +74,7 @@ void main(void) { material.baseColorTextureEnabled, material.baseColorTexcoord, material.baseColorFactor, - vec4(1.0, 1.0, 1.0, 1.0)); + vec4(0.0, 0.0, 1.0, 1.0)); // Mix in vertex color, if present. if(vertexColored) { |