Hi all
I wanted to know whether I can apply fill effects to the background, without using textures.
I’m looking for replacing glClearColor, and will output in a shaded color in the background, again - without using textures.
Thanks
Hi all
I wanted to know whether I can apply fill effects to the background, without using textures.
I’m looking for replacing glClearColor, and will output in a shaded color in the background, again - without using textures.
Thanks
Originally posted by gurkama:
[b]Hi all
I wanted to know whether I can apply fill effects to the background, without using textures.
I’m looking for replacing glClearColor, and will output in a shaded color in the background, again - without using textures.
Thanks[/b]
Hello there
Are you trying to create Gradient fills?
Yes
Draw a quad with the dimensions of the viewport in orthographic mode before your scene, set the vertex colors of the quad accordingly to accomodate your desired gradient.
Now, draw the rest of your scene on top.