o3de-atom-sampleviewer
o3de-atom-sampleviewer copied to clipboard
[Linux] Incorrect rendering in MaterialHotReloadTest sample
Describe the bug Colors are not rendered correctly in the MaterialHotReloadTest sample. The default color for the stripes should be gray instead of red. The shader variant field is rendered as black rectangle. Changing the stripes color to blue results in rendering the whole square as black.
Steps to reproduce Steps to reproduce the behavior:
- Launch the AtomSampleViewer.GameLauncher.
- Load the MaterialHotReloadTest sample (Samples > RPI > MaterialHotReloadTest).
- Change the color of the material.
Expected behavior Colors are rendered correctly. The shader variant field is always readable.
Actual behavior Blue color is rendered as black. Grey color is rendered as red.
Screenshots/Video
https://user-images.githubusercontent.com/86952009/162428934-1b72f5d6-ffc6-440e-ad09-b344069ae9f1.mp4
Found in Branch Stabilization/2205 (3e47df2)
Desktop/Device:
- Device: PC
- OS: Ubuntu
- Version 20.04
- CPU Intel Core i5-9600k
- GPU Nvidia GeForce RTX 2060
- Memory 16GB
After further investigation I have noticed that the incorrect color rendering can be observed in other samples also.