Search Issue Tracker

By Design

Votes

0

Found in

5.6.1f1

Issue ID

918266

Regression

No

Same shader looks differently in Game and Scene views if Batching is not disabled

Shaders

-

How to reproduce:
1. Open the attached "RayTrails" project and "Demo" scene
2. Inspect the Cylinder, Cylinder (1), and Cylinder (3) GameObjects
3. All three of them uses custom "TrailShader"
4. Compare on how they are rendered in Scene view and Game view

Expected result: Game view and Scene view look the same
Actual result: Meshes that use "TrailShader" are rendered differently

Note - This happens due to Batching and it converting all coordinates to world space, adding "DisableBatching" = True" to shader's tags fixes the issue

Reproducible with - 2017.2.0a1, 2017.1.0b8, 5.6.1p3, 5.5.3p2

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.