Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by sph

7 hours ago

If one works with shaders, you get the best of both worlds just by dividing by 10:

  vec3 color = vec3(1.0, 0.3, 0.9);

One decimal digit ought to be enough for anyone.

0 comments

sph

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities