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
- Cameras (Camera.targetDisplay) render only to Display 0 in the Player when Multi-Display setup is used and DX12 API is set
- [Vulkan] _CameraOpaqueTexture produces a feedback effect on Android Adreno devices when using Vulkan
- Loading animations are hitching or stopping when using "SceneManager.LoadSceneAsync" to load new scenes
- [sw-unity-6-1] GameObject child is created in the last GameObject of the hierarchy instead in the selected GameObject by right clicking
- Lens Flare is misaligned when modifying the Camera's Viewport Rect
Add comment