[2.1] Support for waving Grass

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
Post Reply
Lax
Orc
Posts: 413
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 13

[2.1] Support for waving Grass

Post by Lax »

Hi,

has somebody experimented on waving grass with Ogre2.1?
There is an example how to do it with Ogre 1.9, but since then a lot has changed.

Best Regards
Lax

xrgo
OGRE Expert User
OGRE Expert User
Posts: 1100
Joined: Sat Jul 06, 2013 10:59 pm
Location: Chile
x 153

Re: [2.1] Support for waving Grass

Post by xrgo »

I have wind implemented, where I paint vertex color influence and a 3d noise texture makes the waving effect... But If I fill the scene with grass models performance is not so good, I think the ideal would be some kind of shader generated grass, maybe using a code like terra

Lax
Orc
Posts: 413
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 13

Re: [2.1] Support for waving Grass

Post by Lax »

Wind effects, sounds great :)

Oh ok, I thought with Ogre's new static flag for Items, SceneNodes, Entities, performance should be no issue.
Implementation like terra sound complicated.

Post Reply