o3de / o3de-atom-sampleviewer

Atom sample viewer project for the Open 3D Engine
https://o3de.org
Other
31 stars 35 forks source link

DynamicMaterialTest C++ and Lua Functor Materials are not displayed properly #648

Open LB-ArturZieba opened 12 months ago

LB-ArturZieba commented 12 months ago

Describe the bug In Samples > RPI > DynamicMaterialTest the C++ Functor Material and Lua Functor Material are not displayed properly, showing only dark grey materials. While C++ Functor Material is not shown on the https://github.com/o3de/o3de-atom-sampleviewer/wiki/RPI-Samples#dynamicmaterialtest documentation page, the Lua Functor Material should have pulsating blue materials. It should be noted that changing the materials roughly match the average compile time, when compared to the table under the Metrics section on the documentation page.

This issue also occurs on Windows and on the development (ec385c71c5f853d64f22d4f0bdd23c570b8ffb44) branch.

This issue should be treated as Major priority.

Steps to reproduce

  1. Launch AtomSampleViewer.Gamelauncher.
  2. Open the Samples > RPI > DynamicMaterialTest sample.
  3. Change the Default StandardPBR Material to C++ Functor Material and Lua Functor Material respectively, note the changes of the materials on shader balls.

Expected behavior All materials are displayed on the shader balls properly.

Actual behavior C++ Functor Material and Lua Functor Material are not displayed on the shader balls properly.

Video

https://github.com/o3de/o3de-atom-sampleviewer/assets/86952082/39254053-c88a-465e-ab1b-d4419ce36bf6

Found in Branch o3de: Stabilization/2310 (a2c1876) o3de-atom-sampleviewer: stabilization/2310 (893fbaf)

Desktop