Game Development Community

torque 3d v3.5 fog of war

by gdyxml2000 · in Torque 3D Professional · 02/13/2014 (6:00 pm) · 5 replies

could some one share some code about fog of war? just like dota2,lol .

#1
02/16/2014 (5:19 pm)
Thoughts? Ideas?
#2
02/17/2014 (11:01 pm)
I think you should rephrase it a bit; There won't be that many that just give away code or scripts like that. You might try just asking for help after you showed some self-initiative. At least explain what you're trying to achieve.

2nd did you end your very 'short' post with "lol"; I believe that not everyone will think you meant "League of Legends", but rather "Laughing out loud", implicating you're not serious about your request.
#4
02/18/2014 (7:19 am)
Additionally, cross-posting is poor form.

Minimaps are a thing unto themselves in T3D, so that's another entire topic right there.

It depends on how deep you want to go into the renderer code - in theory you could use a GUI element that uses a large mask image, then alter that image to reveal the areas that have been explored.
#5
02/19/2014 (3:34 am)
I have a idea, use the shader, this is unity3d shader example:

staraban.com/en/unity-fog-of-war-video-tutorial/

and this is torque3d shader tutorial:

www.garagegames.com/community/resources/authorID/154909

who can Translated into torque3d?