Game Development Community

Snow terrain texture how?

by Joel Low · in Torque Game Engine · 01/08/2015 (7:38 am) · 8 replies

Hello guys, I'm Joel. I wanna know how to create snow texture for terrain? I've tried making one from sandstorm particle, but it doesn't seem to work, showed black instead, with white shiny pixels..

#1
01/08/2015 (8:08 am)
What you exactly try to do? To you want a terrain texture on the ground that looks like snow or you want to make snow particles that rain down?
Both are relatively easy, for the terrain texture you just need a snow image, make it seamless and build a terrain material out of it and to let it snow you can use the rain system and exchange the rain particle with a snow particle.
#2
01/10/2015 (5:32 am)
Okay thanks Duion. Would you happen to know how to make dynamic snow where you can step on and leave footprints?
#3
01/10/2015 (8:32 am)
Footprints is a default feature, should be active in the full template.
#4
01/10/2015 (6:01 pm)
Where can I get the full template? Sorry I'm new at this.
#6
01/12/2015 (10:41 am)
i know some people post in here by mistake duion, but you should assume that people here are using TGE not Torque3D.
#7
01/12/2015 (4:13 pm)
I know this now, but did not notice, I just fetch all new topics.
#8
01/14/2015 (7:18 pm)
hello Master Low ,
Im not proficient with TGE jargon but , check this out . TGE provides the ability to place footprints for the player using a decal that the Player or AiPlayer can access through its association within the PlayerData Datablock . If your using the 1.5.2 demo , look at the PlayerData datablock found in control\server\players\player.cs ( or something like that ) and youll likely see the association to a footsteps decal . If your not using the demo get it here , it comes with many example files . brb need to find link ...k
windows
demos.garagegames.com/tge15/TorqueGameEngineDemo-1-5-2.exe
mac
demos.garagegames.com/tge15/TorqueGameEngineDemo_Mac_1-5-2.zip
linux
demos.garagegames.com/tge15/TorqueDemoLinux-1.5.2.zip

If you see the reference to the decal in the datablock but not in the game it could be
the decaldata being declared multiple times like , in the Aibeast.cs file and the player.cs file
or
the player.cs being executed before the decal data in the server.cs
or ... :) something else . Good luck , hope it helps