New RTSS textured fog sample

Discussion area about developing or extending OGRE, adding plugins for it or building applications on it. No newbie questions please, use the Help forum for that.
User avatar
Mattan Furst
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 260
Joined: Tue Jan 01, 2008 11:28 am
Location: Israel
x 32

New RTSS textured fog sample

Post by Mattan Furst »

Just added a new sample to Ogre's trunk.

The sample shows how to implement a simple sub-render state in the RTSS. The sub-render state in question replaces the normal fog functionality with a fog that instead of a constant color draws its end color from a cubic texture.
it's turtles all the way down
User avatar
duststorm
Minaton
Posts: 921
Joined: Sat Jul 31, 2010 6:29 pm
Location: Belgium
x 80

Re: New RTSS textured fog sample

Post by duststorm »

I'm glad to see some examples of how RTSS can be used!
It's a nice feature too, something quite simple that can increase the visual appeal of your scene tremendously.

I tried out the demo and made a few screenshots for those interested in what it looks like
texture_fog1_s.jpg
texture_fog2_s.jpg
texture_fog3_s.jpg
You do not have the required permissions to view the files attached to this post.
Developer @ MakeHuman.org
User avatar
Mattan Furst
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 260
Joined: Tue Jan 01, 2008 11:28 am
Location: Israel
x 32

Re: New RTSS textured fog sample

Post by Mattan Furst »

Thanks
it's turtles all the way down
BTolputt
Greenskin
Posts: 121
Joined: Thu Feb 18, 2010 8:05 am
x 2

Re: New RTSS textured fog sample

Post by BTolputt »

That skybox example is great. Thanks :)

Kudos to Matt for the initial sample, just appreciating that someone took it and showed a practical use for the cool feature.
noorus
Halfling
Posts: 75
Joined: Wed Apr 20, 2011 9:55 pm
Location: Helsinki, Finland
x 3

Re: New RTSS textured fog sample

Post by noorus »

That's a rather nice effect, and a good sample of using RTSS. Kudos :)
Creator of Nice Input Library, for your advanced input needs.
Image