We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

masonb

Forum Replies Created

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • in reply to: Shadows for transparency and 2-sided materials. #62081
    masonb
    Customer

    Do you have any idea about the cutout/transparency shadows?

    I don’t know what exactly you want to get. More details. If you don’t want semi-transparent materials casting shadows then just disable shadows for them.

    For example, I have a single quad that I’ve applied a cutout material to in order to make it look like grass. When it cast a shadow, I would expect it to cast the shadow of the grass (since it’s a mask) but as you can see in the example, it is only casting the shadow of the full quad.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Shadows for transparency and 2-sided materials. #62012
    masonb
    Customer

    Do you have any idea about the cutout/transparency shadows?

    I don’t know what exactly you want to get. More details. If you don’t want semi-transparent materials casting shadows then just disable shadows for them.

    I’m trying to planes with cutout materials. So for example, this grass is a plane with a texture on it. I’m trying to get the shadow to be that of the grass, rather than that of the entire plane.

    Attachments:
    You must be logged in to view attached files.
    in reply to: Shadows for transparency and 2-sided materials. #61972
    masonb
    Customer

    I gave you a reference to the particular parameter: shadowSide

    About the screenshots:
    object.material.side = v3d.DoubleSide – in both cases double-sided
    object.material.shadowSide = v3d.FrontSide – the first image
    object.material.shadowSide = v3d.BackSide – the second image

    The plane has a flipped square in the center.

    If you want both sides casting shadows at the same time use
    object.material.shadowSide = v3d.DoubleSide

    Ahhh, okay. I couldn’t see the geometry there so I thought you had a single quad and you were trying to show me a cutout.
    Do you have any idea about the cutout/transparency shadows?

    • This reply was modified 1 year ago by masonb.
    in reply to: Shadows for transparency and 2-sided materials. #61948
    masonb
    Customer

    Currently I can’t find a way to make 2 sided materials get a shadow from the back side

    The way is rather simple
    https://www.soft8soft.com/docs/api/en/materials/Material.html#shadowSide

    So I see that you’re referencing the two sided materials, and yes that is currently turned on in the verge settings for the material. After some fiddling around I found that my issue was actually a setting on my light, which I had deleted and re-instanced in 3ds Max.

    But as for the cutout planes, I see what you have achieved in the pictures, but I’m not actually sure how you’ve done it. Can you elaborate a little?

    masonb
    Customer

    That doesn’t make a lot of sense, because there are even puzzles that specifically have drop downs that let you choose from the nodes.

    Regardless, I figured out the issue. The nodes that were coming in incorrectly were doing so because they shared a file association in the scene in 3ds Max. Splitting the file into separate ones per node now has the puzzle editor showing all of the correct nodes.

Viewing 5 posts - 1 through 5 (of 5 total)