StrataSource / Engine

Issue tracker for Strata Source
46 stars 2 forks source link

Bug(DX11): DecalModulate shader does not work #407

Closed craftablescience closed 2 years ago

craftablescience commented 2 years ago

Describe the bug

The decal does not render, where it does in DX9. Enabling or disabling vertex coloring does not make a difference.

This is the cause of https://github.com/ChaosInitiative/Portal-2-Community-Edition/issues/829.

To Reproduce

P2CE specific:

Either:

  1. Rename this to .vmt (ty GitHub) and put it in p2ce/materials/dev: decalmodulate_test.txt
  2. Rename this to .vmf and compile this map: dev.txt
  3. Observe no decals

Or:

  1. Load sp_a1_intro4
  2. Observe there are no decals in the observation room at the end of the level

Issue Map

Posted above ☝

Expected Behavior

DecalModulate works

Operating System

No response

craftablescience commented 2 years ago

This has been fixed for a while