source: GTP/trunk/App/Demos/Geom/OgreStuff/bin/debug/terrain.cfg @ 1783

Revision 1783, 2.4 KB checked in by gumbau, 18 years ago (diff)
Line 
1# The main world texture (if you wish the terrain manager to create a material for you)
2WorldTexture=grass_1024.jpg
3
4# The detail texture (if you wish the terrain manager to create a material for you)
5DetailTexture=grass.png
6
7#number of times the detail texture will tile in a terrain tile
8DetailTile=8
9
10# Heightmap source
11PageSource=Heightmap
12
13# Heightmap-source specific settings
14Heightmap.image=noise2.jpg
15
16# If you use RAW, fill in the below too
17# RAW-specific setting - size (horizontal/vertical)
18#Heightmap.raw.size=513
19# RAW-specific setting - bytes per pixel (1 = 8bit, 2=16bit)
20#Heightmap.raw.bpp=2
21# Use this if you want to flip the terrain (eg Terragen exports raw upside down)
22#Heightmap.flip=true
23
24# How large is a page of tiles (in vertices)? Must be (2^n)+1
25PageSize=33
26
27# How large is each tile? Must be (2^n)+1 and be smaller than PageSize
28TileSize=17
29
30# The maximum error allowed when determining which LOD to use
31MaxPixelError=3
32
33# The size of a terrain page, in world units
34PageWorldX=1500
35PageWorldZ=1500
36# Maximum height of the terrain
37MaxHeight=120
38
39# Upper LOD limit
40MaxMipMapLevel=5
41
42VertexNormals=yes
43#VertexColors=yes
44#UseTriStrips=yes
45
46# Use vertex program to morph LODs, if available
47VertexProgramMorph=yes
48
49# The proportional distance range at which the LOD morph starts to take effect
50# This is as a proportion of the distance between the current LODs effective range,
51# and the effective range of the next lower LOD
52LODMorphStart=0.2
53
54# This following section is for if you want to provide your own terrain shading routine
55# Note that since you define your textures within the material this makes the
56# WorldTexture and DetailTexture settings redundant
57
58# The name of the vertex program parameter you wish to bind the morph LOD factor to
59# this is 0 when there is no adjustment (highest) to 1 when the morph takes it completely
60# to the same position as the next lower LOD
61# USE THIS IF YOU USE HIGH-LEVEL VERTEX PROGRAMS WITH LOD MORPHING
62#MorphLODFactorParamName=morphFactor
63
64# The index of the vertex program parameter you wish to bind the morph LOD factor to
65# this is 0 when there is no adjustment (highest) to 1 when the morph takes it completely
66# to the same position as the next lower LOD
67# USE THIS IF YOU USE ASSEMBLER VERTEX PROGRAMS WITH LOD MORPHING
68#MorphLODFactorParamIndex=4
69
70# The name of the material you will define to shade the terrain
71CustomMaterialName=Demos/TerrainMixed
72
73
Note: See TracBrowser for help on using the repository browser.