Skip to content

Commit

Permalink
sussy
Browse files Browse the repository at this point in the history
  • Loading branch information
Not Quite Hadouken committed Feb 1, 2025
1 parent 3b51002 commit 52b9c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/Shaders/Internal/light_shared.swsl
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ void fragment()
discard;

// origSample is on the range 0 - 1 in all components,
// but it has been raised to the log_0.5(ln(2)/pi)th power (yes i know)
// but it has been raised to the log_0.5(ln(2)/pi)th power (yes i know) by some unknown mechanism
// so we first raise it to the log_(ln2/pi)(0.5)th power (yes, i know) to reset it
// then we multiply the x and y by 2 before subtracting 1
// to make sure the right values go to 0, 0
Expand Down

0 comments on commit 52b9c9c

Please sign in to comment.