Search Issue Tracker
Feature Request
Votes
0
Found in [Package]
10.10.0
12.1.7
14.0.3
15.0.0
16.0.0
Issue ID
SGB-350
Regression
No
Material broken when multiplying it's color with an identity matrix
Reproduction steps:
# Open the attached project
# Open the “/Assets/Scenes/SampleScene.unity” Scene
# Observe the Cube GameObject’s material in the Scene View
Expected result: The material set doesn’t have any glitches/glowing
Actual result: The material glitches
Reproducible with: 10.10.0 (2020.3.39f1), 12.1.7 (2021.3.8f1), 13.1.8 (2022.1.14f1), 14.0.3 (2022.2.0b6), 15.0.0 (2023.1.0a9)
Reproducible on: Windows 10 (21H2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- OnPostprocessAllAssets() is not called for a modified Prefab when another Asset is set Dirty in the same callback
- [Android] UIToolkit ClickEvent is fired when the device is rotated
- Compilation errors occur when "uintBitsToFloat(int)" gets used in OpenGLES
- User Reporting does not send reports when Managed Stripping Level is set to Low or higher
- Editor crashes and a window with "GetManagerFromContext: pointer to object of manager 'MonoManager' is NULL (table index 5)" error is thrown when launching a project with a corrupted library
Resolution Note:
The 'default' value for Matrices is a bit misleading.
Unity does not support default inline values for cbuffer matrix types-- only for Textures and the types supported by Material Property Blocks.
The default value here is solely for previews and does not set defaults for the final shader or the corresponding materials. To set those values, do so using the material interface for setting properties.
Marking this as a feature request, as there are definitely some improvements here we should investigate.
Marking this as a feature request because we don't want to forget that this is unintuitive, but this becomes