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
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.
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
won't fix as minor. Also there is a workaround already.
Use "Blend 0 One Zero" instead of "Blend One Zero"