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

Package: Shader Graph

-

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)

  1. 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

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.