• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSX Grass Transparency

  • Thread starter Thread starter Aviasim
  • Start date Start date
A

Aviasim

Guest
Having a transparency issue with FSX if anyone can help that would be great!

I am using
3DS Max 9 /w Prepar3D SDK installed

I am trying to make 3d grass that goes around the edges of runways and taxiways etc, however, when compiled...they are not showing up at all.

The texture is a 1024x512 px, I am using a grey and black alpha channel, the grey representing the grass strands I want to see in the sim, these fade to black at the bottom...smooth gradients so I saved as 32 Bit BMP...with no luck, I tried DXT5 DDS...still nothing.

In 3ds max the material is indeed an FSX material
*set default transparency
*Z-test alpha
*alpha test level 128
*no shadow
*double sided
*assume vertical normal
*Z-write Alpha

They are the settings I have used as per many suggestions around FSDeveloper, in ModelConvertorX the preview is showing me what I want, double sided, vertical normals etc, I then place them where I want them, copy the BGL to the scenery folder along with the texture but nothing is there!

I have tried brightening up the alpha channel and even using a complete red texture (with the same name) to see if I could see anything but no luck, please, any help with this would be fantastic, I have got this working before with grass and trees, don't know what's happening now but the times I used it before (and worked) was pure black/white alpha channel, I don't know if I need different settings for black and grey /w gradients alpha channels...please, any help would be fantastic!

Regards
 
I guess this would be like any another tree, regarding to the list of fsx materials you posted, the only thing a not see is the "Alpha test mode" = greater. could be that ? yes too simple mistake but I know what it is. :D
 
I guess this would be like any another tree, regarding to the list of fsx materials you posted, the only thing a not see is the "Alpha test mode" = greater. could be that ? yes too simple mistake but I know what it is. :D

It is grass I am making not a tree, the alpha channel is not pure white and black, it is strands of grass that have grey alpha and a gradient at the bottom...alpha test mode is "Greater Equal"
 
This may sound a bit too simple but.... what do you use to convert the textures? Maybe there is a prob with the program you are using.

I use Martin Wrights DXTBMP for my texture conversions . I use a lot of gradient and blended alphas on textures and I have never had any issues when converting to 32bit extended bitmaps.
 
If the test value is too high, then the alpha will not exceed it.

Hence the texture will not render at that point.

Either Lighten the alpha, or reduce the Z-test value, or a combination of both.

Note:
A low alpha value, and a low test value may present problems with "burn-through" where semi-transparent grass (Framebuffer Settings) burns holes in objects behind it. It is a minefield.
 
will give it a try hcornea, however, i have attached the texture and the alpha channel...not sure of which settings i should apply

grasse.png
grassealpha.png
 
So when working with alphachannels and grey sacales one must to take care of Z test

yep, seems to be the case, I used a Z-Test valua of 70 and got a result I was looking for, however this may not be "thee" value you should use for dark grey alpha channels, I am not sure you'll have to play with it (the z-test value!) :D to achieve the result you want/need
 
Back
Top