diff options
Diffstat (limited to 'source/blender/draw/engines')
3 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/ambient_occlusion_lib.glsl b/source/blender/draw/engines/eevee/shaders/ambient_occlusion_lib.glsl index 41d6db7f726..1061b2f91a2 100644 --- a/source/blender/draw/engines/eevee/shaders/ambient_occlusion_lib.glsl +++ b/source/blender/draw/engines/eevee/shaders/ambient_occlusion_lib.glsl @@ -283,7 +283,7 @@ void occlusion_eval(OcclusionData data, bent_normal = N; } else { - /* Note: using pow(visibility, 6.0) produces NaN (see T87369). */ + /* NOTE: using pow(visibility, 6.0) produces NaN (see T87369). */ float tmp = saturate(pow6(visibility)); bent_normal = normalize(mix(bent_normal, N, tmp)); } @@ -337,7 +337,7 @@ float diffuse_occlusion( * radius1 : First cap’s radius (arc length in radians) * radius2 : Second caps’ radius (in radians) * dist : Distance between caps (radians between centers of caps) - * Note: Result is divided by pi to save one multiply. + * NOTE: Result is divided by pi to save one multiply. */ float spherical_cap_intersection(float radius1, float radius2, float dist) { diff --git a/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl b/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl index 3c49caf11a9..c54621f123d 100644 --- a/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl +++ b/source/blender/draw/engines/eevee/shaders/effect_temporal_aa.glsl @@ -24,7 +24,7 @@ out vec4 FragColor; */ vec3 clip_to_aabb(vec3 color, vec3 minimum, vec3 maximum, vec3 average) { - /* note: only clips towards aabb center (but fast!) */ + /* NOTE: only clips towards aabb center (but fast!) */ vec3 center = 0.5 * (maximum + minimum); vec3 extents = 0.5 * (maximum - minimum); vec3 dist = color - center; diff --git a/source/blender/draw/engines/workbench/shaders/workbench_transparent_accum_frag.glsl b/source/blender/draw/engines/workbench/shaders/workbench_transparent_accum_frag.glsl index fd4d00d96dd..3f113fd4b2e 100644 --- a/source/blender/draw/engines/workbench/shaders/workbench_transparent_accum_frag.glsl +++ b/source/blender/draw/engines/workbench/shaders/workbench_transparent_accum_frag.glsl @@ -11,7 +11,7 @@ layout(location = 0) out vec4 transparentAccum; layout(location = 1) out vec4 revealageAccum; -/* Note: Blending will be skipped on objectId because output is a non-normalized integer buffer. */ +/* NOTE: Blending will be skipped on objectId because output is a non-normalized integer buffer. */ layout(location = 2) out uint objectId; /* Special function only to be used with calculate_transparent_weight(). */ |