Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, alibaba, Konsti, 2 invisible), 1,418 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Landscape and leaves #355034
01/24/11 11:39
01/24/11 11:39
Joined: Jan 2011
Posts: 20
Ogden Marsh
T
Toffi Offline OP
Newbie
Toffi  Offline OP
Newbie
T

Joined: Jan 2011
Posts: 20
Ogden Marsh
Hello!
I have a problem: the landscape at my level covers the entire leaf, which grows on trees and shrubs

applied to the landscape of multi-texturing shader (5 textures)
also "Sahde-C"



Re: Landscape and leaves [Re: Toffi] #356452
02/02/11 04:56
02/02/11 04:56
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
I don't understand the description of your problem.
If I can't understand, I imagine others cant either.
Please explaine with more detail...

Re: Landscape and leaves [Re: TerraSame] #356464
02/02/11 07:56
02/02/11 07:56
Joined: Jan 2011
Posts: 120
United States
Logan Offline
Member
Logan  Offline
Member

Joined: Jan 2011
Posts: 120
United States
I see it. The hill behind the tree is paradoxically covering up the leaves at the bottom of the tree as though it were in front.

I'm not entirely sure why this is happening, but I have a guess--I know there can be major sorting errors when you've accidentally applied a skin with an alpha channel to a terrain, especially with that specific shader applied. I guess it would make sense to me that this could be related to that, specifically because the alpha channel of the leaves is probably confusing the engine concerning the terrain even further. So one possible solution is to go into MED and make sure all your terrain's skins are set to 24-bit, as opposed to 32. I had a similar problem recently of seeing distant hills THROUGH near hills, and this fixed it instantly.

Re: Landscape and leaves [Re: Logan] #356502
02/02/11 14:32
02/02/11 14:32
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Ohhhh now I understand what the problem is....
Yes logan, I've run into those sorting errors too...
I think there are a number of ways to deal with that but I think it depends of how components were created...
You might try this...

Review these in the manual, there are different setting that affect their outcomes...
The values that are set, are the way I use them...
Good luck !

d3d_mipmapping = 4;
d3d_anisotropy = 7; // anisotropic filtering active Range 0 thru 7
d3d_entsort = 0; // not sorting transparent objects Range 0 thru 7
d3d_alpharef = 255; // remove overlay seams completely
d3d_alphadepth = 16; // set all TGA alpha images to 16 bit mode
d3d_autotransparency = 1; // upper left pixel color is TRANSLUCENT for all afterwards loaded textures
d3d_triplebuffer = 1;


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1