Search Issue Tracker
By Design
Votes
0
Found in
2018.1.0b4
Issue ID
992487
Regression
No
[SRP] Overriding RenderState with RenderStateBlock and RenderStateMapping
Steps:
1. Open repro scene SRP02
2. Observe game view
There are 3 sets of objects from left to right, each contains :
OPAQUE capsule
-Zwrite On
-Blend SrcAlpha OneMinusSrcAlpha
-Render Queue 2000
TRANSPARENT sphere
-Zwrite Off
-Blend SrcAlpha OneMinusSrcAlpha
-Render Queue 3000
Left : Rendered without replacing their render states
Mid : Rendered with overriding render states using RenderStateBlock
Right : Rendered with overriding render states using RenderStateMapping
Problems:
1. Mid and Right Capsule - Both RenderStateBlock and RenderStateMapping are overriding the render states to Zwrite Off even the script is written to be setting them to Zwrite On (writeEnabled = true). The opaque capsules have Zwrite On originally so mid and right capsule should render skybox the same way the left one does.
2. Right Sphere - it should renders the same with the mid sphere as blend state is overriden to be additive, and it's overriden using the same way the right capsule does.
Reproducible : 2018.1.0b4, 2017.3.0p3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash with multiple stack traces when playing video on a render texture with low-end graphics devices
- Circle handle of the Game view scale slider bar disappears when the scale is set to 1x
- Asset Bundles non-deterministic behavior with CRCs and hash when a video has Transcoding enabled and Sprite Atlas has an override option enabled
- [Quality Hackweek] Errors "InvalidOperationException: EnsureRunningOnMainThread can only be called from the main thread" and "NullReferenceException" shown when switching build platforms with Muse Texture package installed
- "Importer(DefaultImporter) generated inconsistent result for asset" warnings are thrown when reimporting the "URP" texture
Add comment