Underwater Problem
by JohnT · in Torque Game Engine Advanced · 12/06/2005 (11:31 am) · 2 replies
Hope someone can help with this!
I'm trying to create an underwater scene using L3DT with a small island near by. Everything appears to render perfectly above water and under water to a certain distance, then all of a sudden the water is gone and I get a reflection of the ground on the water above.
I'm sure its something I'm doing wrong, below are the settings I used to convert the raw and jpg files.
Size = 1024
SquareSize = 2
HeightScale = 1/256
ErrorMetric = 2
TreeDepth = 4
LeafSize = 128
Any suggestions?
I'm trying to create an underwater scene using L3DT with a small island near by. Everything appears to render perfectly above water and under water to a certain distance, then all of a sudden the water is gone and I get a reflection of the ground on the water above.
I'm sure its something I'm doing wrong, below are the settings I used to convert the raw and jpg files.
Size = 1024
SquareSize = 2
HeightScale = 1/256
ErrorMetric = 2
TreeDepth = 4
LeafSize = 128
Any suggestions?
About the author
Torque 3D Owner Florian Ross
You have to Scale your Waterblock correctly
in terrain_water_demo the settings for the waterblock are "2048 2048 50"
the 50 meters you see there are the actual water depth ... if you go below that level with your camera you will see the effect you mentioned
Florian