Parallax Mapping!

What it says on the tin: a place to discuss proposed new features.
Post Reply
User avatar
twilight17
Goblin
Posts: 297
Joined: Thu Aug 23, 2007 3:47 am
x 1

Parallax Mapping!

Post by twilight17 »

Well I was messing around with Irrlicht, and saw this demo:
Image
It looked REALLY awesome, and I think Ogre should have some sort of Parallax mapping, its WAY better than bum mapping, IMO.
User avatar
IFASS
Gnome
Posts: 387
Joined: Tue Jan 04, 2005 12:07 pm
Location: Netherlands

Post by IFASS »

It's already (a long time) supported, just make the appropriate shader for it :)

For example: http://www.ogre3d.org/phpBB2/viewtopic. ... ter+shader
Image
User avatar
twilight17
Goblin
Posts: 297
Joined: Thu Aug 23, 2007 3:47 am
x 1

Post by twilight17 »

IFASS wrote:It's already (a long time) supported, just make the appropriate shader for it :)

For example: http://www.ogre3d.org/phpBB2/viewtopic. ... ter+shader
oh wow! thats awesome, thank you! Ill use that :lol:
User avatar
SunSailor
Gnoll
Posts: 699
Joined: Sun Jan 02, 2005 5:45 pm
Location: Velbert, Germany
x 2
Contact:

Post by SunSailor »

There it is again, we really need some more demos I think ;)
User avatar
twilight17
Goblin
Posts: 297
Joined: Thu Aug 23, 2007 3:47 am
x 1

Post by twilight17 »

SunSailor wrote:There it is again, we really need some more demos I think ;)
I concur! :mrgreen:
User avatar
nullsquared
Old One
Posts: 3245
Joined: Tue Apr 24, 2007 8:23 pm
Location: NY, NY, USA
x 11

Post by nullsquared »

It's a plain shader, in fact, the Irrlicht one doesn't do any type of occlusion. Plainest possible parallax mapping ever. Look at Demo_Grass for a "sample" parallax shader in Ogre.
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 66
Contact:

Post by sinbad »

There's already one in the demos. Open Demo_BumpMapping, change model to the head (or the knot), then change the material a few times until 'Offsetmapping' comes up.

For info, Ogre was one of the very first engines to demonstrate parallax (offset) mapping, before Irrlicht and even before UE3 ;) As others have said, it's getting a bit old now, parallax occlusion mapping is better and you can even have self-shadowing on SM3 hardware. Read ShaderX or GPU Gems.
User avatar
twilight17
Goblin
Posts: 297
Joined: Thu Aug 23, 2007 3:47 am
x 1

Post by twilight17 »

sinbad wrote:There's already one in the demos. Open Demo_BumpMapping, change model to the head (or the knot), then change the material a few times until 'Offsetmapping' comes up.

For info, Ogre was one of the very first engines to demonstrate parallax (offset) mapping, before Irrlicht and even before UE3 ;) As others have said, it's getting a bit old now, parallax occlusion mapping is better and you can even have self-shadowing on SM3 hardware. Read ShaderX or GPU Gems.
hmm thats weird.. i cant seem to find the bump mapping demo, is it in the OgreSDK package? or do I have to download the demos?
User avatar
PolyVox
OGRE Contributor
OGRE Contributor
Posts: 1316
Joined: Tue Nov 21, 2006 11:28 am
Location: Groningen, The Netherlands
x 18
Contact:

Post by PolyVox »

twilight17 wrote:hmm thats weird.. i cant seem to find the bump mapping demo, is it in the OgreSDK package? or do I have to download the demos?
It's actually called Ogre_Dot3Bump
User avatar
twilight17
Goblin
Posts: 297
Joined: Thu Aug 23, 2007 3:47 am
x 1

Post by twilight17 »

PolyVox wrote:
twilight17 wrote:hmm thats weird.. i cant seem to find the bump mapping demo, is it in the OgreSDK package? or do I have to download the demos?
It's actually called Ogre_Dot3Bump
ohhh thank you :lol:
User avatar
nullsquared
Old One
Posts: 3245
Joined: Tue Apr 24, 2007 8:23 pm
Location: NY, NY, USA
x 11

Post by nullsquared »

... or you can just look at the grass demo and need not to worry about changing materials ;)
Post Reply