Game Development Community

Disapearing waterblock??

by Mike Rowley · in Torque Game Engine · 08/19/2006 (12:04 pm) · 0 replies

In the little demo game I'm working on, I've placed a waterblock. The code is as follows:
In world.mis
new WaterBlock(water) {
      position = "-320 -224 -190";
      rotation = "1 0 0 0";
      scale = "1024 1024 200";
      UseDepthMask = "1";
      surfaceTexture = "~/data/water/water";
      ShoreTexture = "~/data/water/wateredge";
      envMapOverTexture = "~/data/skies/sky_7";
      envMapUnderTexture = "~/data/terrains/grassland/sand";
      specularMaskTex = "~/data/water/specmask";
      liquidType = "OceanWater";
      density = "1";
      viscosity = "15";
      waveMagnitude = "2";
      surfaceOpacity = "0.75";
      envMapIntensity = "0.1";
      TessSurface = "50";
      TessShore = "60";
      SurfaceParallax = "0.2";
      FlowAngle = "240";
      FlowRate = "0.1";
      DistortGridScale = "0.1";
      DistortMag = "0.02";
      DistortTime = "0.5";
      ShoreDepth = "6";
      DepthGradient = "1";
      MinAlpha = "0.1";
      MaxAlpha = "1";
      tile = "1";
      removeWetEdges = "0";
      specularColor = "0 0.1 0.2 1";
      specularPower = "20";
         envMapTexture = "~/data/skies/sky_7.jpg";
   };

If you look at this screenshot, You can see the water in world. I have it positioned and sized the way I want it. The problem is that it disapears when you turn. Like in this screenshot
Does anyone have an idea why this happens? I don't have this problem in any of the other practice worlds I've built.