CrxGames
08-01-2006 22:57:45
Hi, I'm having an issue with any kind of lighting on my PLSM terrain, both ambient lighting and LT_POINT lights have absolutely no effect on it.
CFG:
GEN.CFG:
All my lights will effect other models, just not the terrain, yes I have tried building it with NormalMap=yes.
Please help.
EDIT: I have another smaller question
I would like some form of splatting, where I have an alpha map, where transparent gets replaced with say... dirt and non-transparent gets replaced with say... grass, how would I go about that with PLSM, I know how to do it with just normal materials and such.
CFG:
GroupName=PLSM2
Data2DFormat=HeightField
LandScapeFileName=terrain
LandScapeExtension=png
TextureExtension=png
#TextureFormat=Image
ImageFilename=path_blend
PageSize=513
TileSize=65
MaxPixelError=3
ScaleX=4000
ScaleY=1100
ScaleZ=4000
#SplatFilename0=splatting_sand.jpg
#SplatFilename1=splatting_grass.jpg
Width=4
Height=4
VisibleRenderables=256
CameraThreshold=5
HorizonVisibilityComputing=yes
Deformable=yes
VertexCompression=yes
VertexProgramMorph=no
LODMorphStart=0.5
MaxAdjacentPages=4
MaxPreloadedPages=8
NormalMap=yes
CoverageMap=yesGEN.CFG:
GroupName=PLSM2
LandScapeFileName=terrain
LandScapeExtension=tga
LandScapeExportExtension=png
TextureExtension=png
Paged=yes
ScaleX=1
ScaleY=1
ScaleZ=1
PageSize=513
TileSize=65
OutDirectory=terrain
Data2DFormat=HeightField
ColorMapName=path_blend.tga
ColorMapSplit=yes
MaxValue=3000
MinValue=0
NormalMap=yes
CoverageMap=yes
HeightMap=yesAll my lights will effect other models, just not the terrain, yes I have tried building it with NormalMap=yes.
Please help.
EDIT: I have another smaller question
I would like some form of splatting, where I have an alpha map, where transparent gets replaced with say... dirt and non-transparent gets replaced with say... grass, how would I go about that with PLSM, I know how to do it with just normal materials and such.