Neos-Metaverse / NeosPublic

A public issue/wiki only repository for the NeosVR project
198 stars 9 forks source link

PBS_DistanceLerpMetallic and PBS_DistanceLerpSpecular Emission Color has no effect without EmissiveMap #3904

Open PointerOffset opened 1 year ago

PointerOffset commented 1 year ago

Describe the bug?

The EmissiveColor property for the PBS_DistanceLerpMetallic and PBS_DistanceLerpSpecular shaders has no visible effect unless EmissiveMap is populated with a texture.

Relevant issues

@Earthmark filed a different-but-related issue as a feature request for the emission map to affect emission on distance lerp points: https://github.com/Neos-Metaverse/NeosPublic/issues/1787

To Reproduce

  1. Create new PBS_DistanceLerp material in workflow of your choice (Metallic or Specular)
  2. Populate the EmissiveColor field with a value greater than 0,0,0,1
  3. Observe no change in material appearance.
  4. Populate a texture into the EmissiveMap field. (I generated a monochromatic procedural noise texture and baked it for testing).
  5. Observe EmissiveColor property affecting material emission color as expected based on EmissionMap.

Expected behavior

A mesh rendered with PBS_DistanceLerpMetallic or PBS_DistanceLerpSpecular should exhibit a uniform emission color based on the EmissiveColor field value when EmissiveMap texture is NULL.

Log Files

No response

Screenshots

No response

How often does it happen?

Always

Does the bug persist after restarting Neos?

Yes

Neos Version Number

2022.1.28.1335

What Platforms does this occur on?

Windows

Link to Reproduction Item/World

No response

Did this work before?

I Don't Know

If it worked before, on which build?

No response

Additional context

No response

Reporters

Spex