DRTVWR-559: PBR: Cleanup debug

master
Ptolemy 2022-08-26 15:19:03 -07:00
parent dc8773ffe9
commit 8b45dfd477
2 changed files with 2 additions and 1 deletions

View File

@ -291,7 +291,7 @@ vec2 getScreenXY(vec4 clip)
// Color utils
vec3 colorized_dot(float x)
vec3 colorize_dot(float x)
{
if (x > 0.0) return vec3( 0, x, 0 );
if (x < 0.0) return vec3(-x, 0, 0 );

View File

@ -186,6 +186,7 @@ vec3 srgb_to_linear(vec3 c);
// Debug Utils
vec3 BRDFDiffuse(vec3 color);
vec3 colorize_dot(float x);
vec3 fresnelSchlick( vec3 reflect0, vec3 reflect90, float vh);
float D_GGX( float nh, float alphaRough );
float V_GGX( float nl, float nv, float alphaRough );