Game Development Community

Shoreline not showing

by Dubai Coder · in Torque Game Engine · 12/13/2006 (3:17 pm) · 1 replies

I ahve created the below water block but not matter what I cannot see the shorelines.
I have moved the block everywich way but nothing except the water bpdy appears.

Mabye this has to do with the level of water value in the terraform menu, but ever there my experimentation yielded nothing.

Any help is appreciated.


new WaterBlock(t1) {
canSaveDynamicFields = "1";
position = "-960 -856 -143.4";
rotation = "1 0 0 0";
scale = "2000 2000 300";
UseDepthMask = "0";
surfaceTexture = "~/data/water/water.png";
ShoreTexture = "~/data/water/wateredge.jpg";
envMapOverTexture = "~/data/skies/day_0007.jpg";
envMapUnderTexture = "~/data/terrains/tropics/rock.jpg";
specularMaskTex = "~/data/water/specmask.png";
liquidType = "Water";
density = "1";
viscosity = "15";
waveMagnitude = "3";
surfaceOpacity = "0.4";
envMapIntensity = "0.2";
TessSurface = "50";
TessShore = "60";
SurfaceParallax = "1";
FlowAngle = "1";
FlowRate = "1";
DistortGridScale = "0.1";
DistortMag = "0.05";
DistortTime = "0.5";
ShoreDepth = "2";
DepthGradient = "2";
MinAlpha = "0.2";
MaxAlpha = "1";
tile = "1";
removeWetEdges = "0";
specularColor = "1 1 1 1";
specularPower = "6";
Extent = "100 100 10";
envMapTexture = "~/data/skies/day_0007.jpg";
seedPoints = "0 0 1 0 1 1 0 1";
textureSize = "32 32";
params3 = "1.21 -0.61 0.13 -0.33";
floodFill = "1";
params0 = "0.32 -0.67 0.066 0.5";
params1 = "0.63 -2.41 0.33 0.21";
params2 = "0.39 0.39 0.2 0.133";
};

#1
12/13/2006 (4:12 pm)
ShoreDepth = "2"; is the probelm... try a higher number.. maybe shoreDepth = "20"; would be better