How do you make materials double sided and transparent?

Discussion in 'Content Creation' started by hardeepreehal, Nov 10, 2021.

  1. hardeepreehal

    hardeepreehal
    Expand Collapse

    Joined:
    Oct 18, 2017
    Messages:
    16
    Hello, I am working on a mod and I have a glass texture - I added the texture to the main.materials.json and it appears in-game on my model but it's not double sided so it's invisible from the inside, but outside it's visible.

    Also, it's not transparent, it's just pure white colour - i have "translucent" : 1 and it's still not transparent, doesn't look like glass... it's not see through but the material is definitely there!

    I want to use .json format and not the old .cs format.

    Any ideas how to do this? Thanks
     
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,056
    Just check how it's done in vanilla cars, you need stuff like opacity map, and also 2 separate models, one for the inside and the other for the outside
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice