summaryrefslogtreecommitdiff
path: root/assets/shaders/pbr_textured.frag
diff options
context:
space:
mode:
Diffstat (limited to 'assets/shaders/pbr_textured.frag')
-rw-r--r--assets/shaders/pbr_textured.frag6
1 files changed, 3 insertions, 3 deletions
diff --git a/assets/shaders/pbr_textured.frag b/assets/shaders/pbr_textured.frag
index 132c449..29d59a0 100644
--- a/assets/shaders/pbr_textured.frag
+++ b/assets/shaders/pbr_textured.frag
@@ -87,12 +87,12 @@ void main() {
color = color / (color + vec3(1.0));
color = pow(color, vec3(1.0/2.2));
- FragColor = vec4(color, 1.0);
+ // FragColor = vec4(color, 1.0);
// FragColor = vec4(1.0);
// FragColor = vec4(scene.pointLights[0].position);
- FragColor = vec4(albedo, 1.0);
+ // FragColor = vec4(albedo, 1.0);
// FragColor = vec4(pbr.metallic, pbr.roughness, pbr.ao, 1.0);
- // FragColor = scene.viewPos;
+ FragColor = vec4(fragTexCoords, 0.0, 1.0);
}
/* The below are from https://learnopengl.com/PBR/Lighting */