19.01.2008, 11:54
big_yamato Wrote:The "world" draw distance works together with the object's draw distance in the corresponding mat file.
The view distance (visually) will not go further than the objects draw distance in the "world" file. In other words, to make objects appear from longer distance, you have to change both the (general) objects draw distance in the "world" file and in its (specific) mat file as well.
At least that's what I found. Anyway, I'll make some screenshots later...
This is Tree0.mat
Code:
[ClassInfo]
ClassName TMaterial
[General]
tfDoubleSide 1
tfShouldSort 0
tfDropShadow 0
tfGameTimer 1
[LightParams]
Ambient 1.0
Diffuse 1.0
Specular 0.0
SpecularPow 0.0
Shine 0.0
[Layer0]
TextureName tree_01_256a.tga
PaletteName
Frame 0.0
AlphaTestVal 0.5
VisibleDistanceNear 0.0
VisibleDistanceFar 1000.0
TextureCoordScale 0.0 0.0 1.0 1.0
ColorScale 1.0 1.0 1.0 1.0
tfWrapX 1
tfWrapY 1
tfMinLinear 1
tfMagLinear 1
tfMipMap 1
tfBlend 0
tfBlendAdd 0
tfTestA 1
tfTestZ 1
tfUpDateClear 0
tfModulate 1
tfNoTexture 0
tfAnimatePalette 0
tfAnimateSkippedFrames 0
tfNoWriteZ 0
tfImageResident 0
SubPictures 0
tater