Skip to content

Commit 782ad61

Browse files
committed
fixup! renderer: implement remaining transfer functions and their inverses
1 parent 5ab69d0 commit 782ad61

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/render/shaders/glsl/CM.glsl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ vec3 tfInvSRGB(vec3 color) {
114114
}
115115

116116
vec3 tfInvExtSRGB(vec3 color) {
117-
// EXR sRGB is the sRGB transfer function mirrored around 0.
117+
// EXT sRGB is the sRGB transfer function mirrored around 0.
118118
return sign(color) * tfInvSRGB(abs(color));
119119
}
120120

@@ -160,7 +160,7 @@ vec3 tfSRGB(vec3 color) {
160160
}
161161

162162
vec3 tfExtSRGB(vec3 color) {
163-
// EXR sRGB is the sRGB transfer function mirrored around 0.
163+
// EXT sRGB is the sRGB transfer function mirrored around 0.
164164
return sign(color) * tfSRGB(abs(color));
165165
}
166166

0 commit comments

Comments
 (0)