Announcement

Collapse
No announcement yet.

Mask shadowed areas

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Mask shadowed areas

    Hello,

    I have a material effect on a landscape that I'd like to hide on shadowed areas.
    Getting directional light's forward vector doesn't help since it doesn't care if there is anything between the landscape and directional light.

    Any ideas?
    Thanks in advance.
    Artstation
    Join the support channel
    Gumroad Store

    #2
    Unfortunately, you can't do that and will have to move the effect somewhere, like deferred light shader, where you can actually get the shadowmap.

    Comment

    Working...
    X