Waves in TGEA
by Keith "Kilo" Watt · in Torque Game Engine Advanced · 06/20/2007 (12:28 pm) · 0 replies
Hi all -
In looking at the TDN, specifically http://tdn.garagegames.com/wiki/TSE/Water, it says that TGEA waves are made by combining three waves, each of which has a waveDir, waveSpeed, and waveTexScale. Looking at the water block, however, I see parameters for four waves: waveDir0, waveDir1, waveDir2, waveDir3, etc. Are there actually four waves (it seems to me that wave3 seems to do nothing), and if so how do they combine? The TDN says that the third wave is combined at 1/3 strength with the other two, so it would seem to matter. Or is one of the waves a fall back for pixel shader 1.1 cards? Any information would be greatly appreciated!
Many thanks,
Kilo
P.S. And while we're here, what does reflectTexSize do? I can't find it documented anywhere...
In looking at the TDN, specifically http://tdn.garagegames.com/wiki/TSE/Water, it says that TGEA waves are made by combining three waves, each of which has a waveDir, waveSpeed, and waveTexScale. Looking at the water block, however, I see parameters for four waves: waveDir0, waveDir1, waveDir2, waveDir3, etc. Are there actually four waves (it seems to me that wave3 seems to do nothing), and if so how do they combine? The TDN says that the third wave is combined at 1/3 strength with the other two, so it would seem to matter. Or is one of the waves a fall back for pixel shader 1.1 cards? Any information would be greatly appreciated!
Many thanks,
Kilo
P.S. And while we're here, what does reflectTexSize do? I can't find it documented anywhere...