Search Issue Tracker
By Design
By Design in 2017.1.X
Votes
0
Found in
2017.1.0f3
Issue ID
936639
Regression
No
Wrong value of alpha, shows 0.24706 when it suppose to be 0.5
Steps to reproduce:
1) Download attached project 'Texture2DAlphaIssue.zip' and open in Unity
2) Build '0' scene
3) Download Renderdoc and open it
You can download Renderdoc from here: https://renderdoc.org/
4) In Renderdoc: Capture Executable >> launch .exe file of built project in Renderdoc
5) Press F12 to capture the frame
6) Double click on capture so Renderedoc will collect the log
7) In Event browser, expand Color Pass #1(1Targets +Depth) and select DrawIndex(6)
8) Select Texture Viewer tab, with r.mouse click on the red circle
Note that the value of alpha will be 0.24706 even shader written in Unity should make this value to 0.5 (check shader 'TextureShow.shader' in Unity)
Expected result: The value of alpha should be 0.5
Actual result: The value of alpha is 0.24706
Reproduced with:
5.6.3f1, 2017.1.0p2, 2017.2.0b5, 2017.3.0a2
I wasn't able to check with 5.5.x because shader in this version didn't worked correctly
Note: Video of reproduction is attached (repro.mp4)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Shader Graph Asset icon is not shown on creation unless you confirm the name
- APV Sky occlusion doesn't consider the terrain
- [iOS] "EXC_BAD_ACCESS" Player crash when Script Debugging is enabled
- Cursor skips input fields when tabbing between two sets of input fields
- "Shader error redefinition of 'Varyings'" error appears when selecting the shader
Add comment