Hello, I have a terrain with entities over it. And it looks ok, but after travel with camera for a while some parts of terrain look transparent. I use a sample code of engine to move the camera not the debug code (After press 0) I you donīt understand what i mean i can post a image of the screwded terrain.
If you don`t use a shader: Make sure the Skin of the Terrain have no Alpha Channel.
Open the Terrain in MED --> Edit --> manage Skins There should be: Texture:256x256x24... if is not 24 (the others can be different): --> Skin Settings --> Texture Format Here should be 24bit selected.
Last edited by Widi; 04/06/1018:08.
Re: Problems displaying the terrain
[Re: Widi]
#318312 04/07/1000:4204/07/1000:42
OK, now i need some more Infos. For what do you need the alphacannel (32bit)? Do you apply a Shader to your terrain?
If you don`t use a shader you will always have this problems with opaque portions sometimes look transparent. If a Skin have 32 bit then the engine will render the Terrain at the transparent pass and that gives problems.
maybee that can help: set the flag PASS_SOLID in the Material of your terrain.
Re: Problems displaying the terrain
[Re: Widi]
#318502 04/08/1001:0504/08/1001:05
Well i have a level with a big block wich is the water and i put on top of it the terrain. I want a irregular terrain for looks like a island soo parts of it are transparent for show the block (water) around the island.
Hey... Do n internet search for "Mysty Mood" by "Loopix" It is available in both C Light and C Script... It's all done for you. All the art work and code is there for you to use... It's awesome. Have fun...