Gradient Image
I''m trying to make a lightray. That light that enters by the window untill the ground. I need to make my image(BMP or JPG) be gradient. It start strong when enter into the window and gets weak till reach the ground. An example of it is a enter in the contest. There is a image that explain all i wrote.
Thanx for all...
"There are people who live in the reality. We recreate it!"
No what you want to do is leave it un textured and color the vertexes.
Yeah, that makes sense!
"There are people who live in the reality. We recreate it!"
For the lightray-coming-from-the-window, You might want to try to color the vertices, use a sorta random texture (mainly white with lotsa grey dots on it) and slowly translate the texture coordinates.
I saw this in a Quake3 shader (there''a a spotlight on the ceiling in q3dm0 for example) and it shows a light+dust effect quite well.
SaM3d!, a cross-platform API for 3d based on SDL and OpenGL.
The trouble is that things never get better, they just stay the same, only more so. -- (Terry Pratchett, Eric)
I saw this in a Quake3 shader (there''a a spotlight on the ceiling in q3dm0 for example) and it shows a light+dust effect quite well.
SaM3d!, a cross-platform API for 3d based on SDL and OpenGL.
The trouble is that things never get better, they just stay the same, only more so. -- (Terry Pratchett, Eric)
SaM3d!, a cross-platform API for 3d based on SDL and OpenGL.The trouble is that things never get better, they just stay the same, only more so. -- (Terry Pratchett, Eric)
Yeah hes right, if you add a bit of noise for a textrue, with colored vertexes it looks very nice...
Although depending on the situation a solid lightray would also look good.
Although depending on the situation a solid lightray would also look good.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement