NVIDIAGameWorks / rtx-remix

Combined repo for the RTX-Remix runtime
https://www.nvidia.com/en-us/geforce/rtx-remix/
MIT License
1.36k stars 68 forks source link

[POM] Textures with heightmaps self shadow even though there is a decal on top of it #486

Open xoxor4d opened 4 months ago

xoxor4d commented 4 months ago

Describe the bug

A base layer with pom applied + decals on top cast shadows onto themselves, which are visible through the decals even if the decal has an opacity of 100%.

height_shadows_decal01

The decal layer also has a heightmap applied. That heightmap isn't visualized by the debug view

To Reproduce Steps to reproduce the behavior:

  1. Add heightmap to base layer
  2. Add heightmap to decal layer

Expected behavior

Screenshots

https://github.com/NVIDIAGameWorks/rtx-remix/assets/45299104/fdf8a4a1-38df-4f92-a0db-c221b9e2b00d

height_shadows_decal02

height_shadows_decal03

MarkEHenderson commented 1 month ago

REMIX-3080 for tracking