Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
duncan-donuts
on Feb 3, 2017
|
parent
|
context
|
favorite
| on:
Breakdown of a Simple Ray Tracer
I wonder if taking the square root of the color inverts the original color. I also wonder why he is taking the square root and don't know why.
Keyframe
on Feb 3, 2017
|
next
[–]
Nah, you'd subtract your color from white in order to get negative. This would diminish original. Sqrt is there for poorman's gamma.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: