Tagged Questions
0
votes
2answers
217 views
LWJGL - OpenGL - Texture shading
I want to use LWJGL to create a shader that all it does is change the color of the given texture. For example I tell it to draw the letter A using a sprite sheet then I can tell the shader to draw the ...
4
votes
2answers
412 views
Programatically replace color gradient on sprite
Say I have the following image:
I want to tint the yellow parts on this sprites shoulder/arms by a random color. In other questions on this site, they suggest using a chroma key and replacing the ...
-1
votes
2answers
250 views
Could a large number, such as 255.000255 be converted to it's RGB channels in a Shader language?
If I had a Vertex Shader constant holding one float value, like:
255.000255
Where: The first 3 numbers are actually red (255), next three are green (000), then the last three are blue (255).
... ...