Game Development Community

Does "$pref::Terrain::enableEmbossBumps" Still Work?

by Dave Calabrese · in Torque Game Engine Advanced · 12/19/2007 (2:53 pm) · 1 replies

I found the preference variable "$pref::Terrain::enableEmbossBumps", turned it on, set it up in my terrain and saw a glorious amount of... nothing! Is this something that is Atlas only, or has it been removed entirely, or am I just doing something wrong? Here is my terrain datablock:

new TerrainBlock(Terrain) {
      canSaveDynamicFields = "1";
      Enabled = "1";
      rotation = "1 0 0 0";
      scale = "1 1 1";
      detailTexture = "game/data/terrains/details/detail1";
      terrainFile = "game/data/missions/myTerrain.ter";
      bumpTexture = "game/data/testbump";
      squareSize = "8";
      emptySquares = "352923 549785 615577 681368 681624 681880 682136 682392 551577 420762";
      tile = "1";
      detailDistance = "0";
      detailBrightness = "0.7";
      texelsPerMeter = "4";
      clipMapSizeLog2 = "11";
         bumpOffset = "0.01";
         bumpScale = "1";
         TypeBool locked = "true";
         position = "-1024 -1024 0";
         zeroBumpScale = "8";         
   };

Thanks,
-Dave C.
21-6 Productions

#1
12/19/2007 (11:28 pm)
No, the terrain is shader based and the bump does not work at all.