Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Auto Grass Positioning Example

Author
Message
Roxas
19
Years of Service
User Offline
Joined: 11th Nov 2005
Location: http://forum.thegamecreators.com
Posted: 23rd Mar 2007 13:21
This shows how to make auto positioning grass with few objects!

When grass is behind camera or not on camera view it moves it front of camera.. This gives little fps boost this is easy (if advanced terrain or something else) or hard (if .x terrain or .dbo terrain) to convert to diffrent type of world/terrain

Increase or decrease GRASS Value in top of code to set amount of max grass to render

Increase or decrease the grass height and width values in top of code to set grass height and width..

Have fun!





Login to post a reply

Server time is: 2025-08-09 01:38:51
Your offset time is: 2025-08-09 01:38:51