Laur's blog
Sign in Subscribe

rgb

A collection of 1 post
RGB to HSV to RGB - for Shaders
glsl

RGB to HSV to RGB - for Shaders

TL;DR: Go here to get the RGB->HSV and HSV->RGB conversion functions for shaders. The other day I tried to tint a colour in a texture (or rather all texture) with a different colour. It's quite easy to rotate things around, but, if you
Nov 15, 2015 2 min read
Page 1 of 1
Laur's blog © 2025
  • Sign up
Powered by Ghost