• 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.

How to use Alpha Mask to make a fence partly transparent.

Messages
14
Country
sweden
Hi I am trying to make a partly full transparent lattice fence in Blender for export to MSFS.
I have version 1.3.3 of the exporter and 3.6.12 of blender.

I have used a PBR material from Texture.com with name StretchedFence_Old_2K
I used the albedo, metallic, roughness, normal and alpha png:s for building the "Blender Procedural" example below

I used the albedo, normal, Alpha and Comp_AORM png:s for building the "MSFS Material Params" example below.

The Comp_AORM I built in Photoshop - using ao on the red channel, roughness on the green channel and metallic on the blue channel

I have tested to build one simple Blender procedural material (and it works as I want, at the left in attached file 1_Result of my test below
and one example with the MSFS Material Params that not is working as I want below to the right.

1_Result of my test.jpg


Here is the shader editor I used for the "Procedural Material" thats works as it should. No weirdness.
I also set the Blend Mode / Blend Mode to Alpha Clip
2_Nodetree_for_Blender_Procedural.jpg


This is the MSFS Param Textures I attached I tried to use the alpha as blend mask
3A_Files_to_MSFS_Material_Params.jpg


This is the upper part of the MSFS Params. As you can see I use the Type Standard and set the Alpha to Mask.
I will never never touch the upper parts of the Material when using MSFS Params but I can see that when I set Alpha to Mask - the exporter automatical set the Blend Mode to Alpha Clip
3B_Files_to_MSFS_Material_Params.jpg


This is the resulting Node-tree created of the MSFS Params that I never will touch and I have not dived into it to see what it does. except to see how MSFS Params extract the AO Roughness and Metallic from the RGB channels.
But I never will touch everything here.
4_NodeTree_for_MSFS_Exporter.jpg


This is the files I have bought and downloaded from textures.com
5_Used_Files.jpg

Is it anyone that can tell me what I have missed?
Thx in advance.
Erland

1_Result of my test.jpg2_Nodetree_for_Blender_Procedural.jpg3A_Files_to_MSFS_Material_Params.jpg3B_Files_to_MSFS_Material_Params.jpg4_NodeTree_for_MSFS_Exporter.jpg5_Used_Files.jpg
 
Try this attached .blend file. Asobo's advice is to manipulate materials with the addon, rather than using shader nodes.
 

Attachments

  • Fence.zip
    1.1 MB · Views: 51
Back
Top