- Home /
HDR Color Picker Returns Clamped Values
Hi,
I'm trying to use a color picker to sample colours in my scene, I defined it this way on a Shader:
Properties
{
[HDR] _Sampler ("Sampler", Color) = (0.0, 0.0, 0.0, 1.0)
}
It almost works as I can see that the displayed values are now in range [0, 1] instead of [0, 255] however I'm unable to pick colours above 1 or below 0. The output is always clamped and the precision is also very limited which I attribute to the fact values have to be matching with their hexadecimal counterparts.
I would like to know if there is a way around that or better, a pixel inspector that will allow me to sample the scene properly.
Cheers,
Thomas
Your answer
Follow this Question
Related Questions
Left side of color spectrum from color picker not appearing in shader for game view [Shader Graph] 0 Answers
Ortho camera viewport setup? 3 Answers
Can you figure out why AngryAnt's CameraViewer is crashing? 0 Answers
How to resize a camera's orthoSize for an object to fit inside its rect viewport? 1 Answer
Can the Camera be Positioned on the Game Screen through code? 0 Answers