• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

z order messed up for alpha-transparent objects

VladK

New Member
Hi all!
I am modding an existing track and wanted to add cardboard crowd (I hope it will look better than camera-facing ones, since they tend to catch too much diffuse and are impossible to balance. I hope to maybe gain few FPS too, since cardboards are very triangle-light (unproven).
But since I'm new to AC modding I am confused about how to control z-order of my crowd, as it is somehow got over the alpha-transparent fence texture (see image). I've seen this to work in other tracks (e.g. gb_detroid2021), but not sure how this is done.
zorder_issue.jpg
Many thanks!
 

VladK

New Member
Was able to solve the issue - it's always amazing how your brain start to work as soon as you asked a question :)

[SHADER_REPLACEMENT_...]
MATERIALS = FENCE,CROWD,SEATS
BLEND_MODE = ALPHA_TEST
SHADER = ksPerPixelAT
IS_TRANSPARENT = 0
issue_solved.jpg
 

JoeK

New Member
I'm glad you are posting an answer to your question. It will answer a question I'll have in a couple of months... :)
Cheers...
 
Top