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.

DarkBASIC Professional Discussion / Need a little help with pasting an image on a terrain.

Author
Message
KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 18th May 2011 22:27
I've done a fair amount of searching, but I don't think I'm using the right terminology in the search.

I need to put an image on the terrain that follows the cursor and conforms to the shape of the terrain, such as those you see in a terrain editor or the little circles you see in an RTS.

Hockeykid
DBPro Tool Maker
18
Years of Service
User Offline
Joined: 26th Sep 2007
Location:
Posted: 18th May 2011 23:04
http://www.evolved-software.com/shaders/advlighting

Evolved has an example in his Advanced Lighting library called "Edit Terrain" which is a basic terrain editor. It has the feature you're looking for.

KISTech
18
Years of Service
User Offline
Joined: 8th Feb 2008
Location: Aloha, Oregon
Posted: 18th May 2011 23:23
Cool, thanks.

Login to post a reply

Server time is: 2026-07-10 23:13:30
Your offset time is: 2026-07-10 23:13:30