summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2021-05-10 17:18:01 -0400
committerDavid Thompson <dthompson2@worcester.edu>2021-05-10 17:18:01 -0400
commit8b6e1945f14fa48208076139060c53ac332b3f0d (patch)
tree655551ac43ac1ec11cf962e1d9bc68c8984e179b /data
parent62570faa3ff4d3664dab3035a3cf9d4bd58014a1 (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.glsl2
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) {