Re: Shader, but on quad/batch and not whole texture
Posted: Wed Aug 26, 2015 7:05 pm
[quote="~Tidal"
I only want to have the lower part of the said quad of a different color than the top part, so I'm working with texture_coords, which don't apply to the quad, but to the original picture.[/quote]
Sorry for my profound lack of understanding as to what you apparently want.
My only point was to indicate that a shader is applied to a canvas (current screen or other canvas) so that if you wanted a shader to effect only a quad, you could place that quad in a canvas and apply the shader to only that canvas.
This may not be the most effective way to get what you want.
I only want to have the lower part of the said quad of a different color than the top part, so I'm working with texture_coords, which don't apply to the quad, but to the original picture.[/quote]
Sorry for my profound lack of understanding as to what you apparently want.
My only point was to indicate that a shader is applied to a canvas (current screen or other canvas) so that if you wanted a shader to effect only a quad, you could place that quad in a canvas and apply the shader to only that canvas.
This may not be the most effective way to get what you want.