Search Issue Tracker

Won't Fix

Votes

0

Found in

5.5.2p2

Issue ID

893052

Regression

No

Material is not applied to the GameObject when ColorMask's RenderTarget is combined with Blend

Shaders

-

To reproduce:
1. Open attached project;
2. Run asdf scene;
3. Press on Plane and see that is White (should be red);
4. Open shader _0;
5. Comment line Blend One Zero and un-comment Blend 0;1;2;3 One Zero; ( Notice that the Plate is red);
6. Open shader_0 again and switch back to the single line Blend;

Actual result: The plane is white when using Blend One Zero with ColorMask RGBA 3
Expected result: Using Blend One Zero with ColorMask RGBA 3 should give material color to the Game Object.

Reproduced in : 5.5.2p2; 5.5.2p3;5.6.0f2; 2017.1.0a4

Updated reproducible in: 2017.1.2f1, 2017.2.0f2, 2017.3.0b3

Note: if you change ColorMask 0 0 to ColorMask RGBA 0 and combine with Blend One Zero the Plane has red material.

  1. Resolution Note:

    won't fix as minor. Also there is a workaround already.

    Use "Blend 0 One Zero" instead of "Blend One Zero"

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.