Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
This question was closed Jul 12, 2018 at 01:53 PM by JavierRuidoRosa for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by JavierRuidoRosa · Jul 09, 2018 at 04:19 PM · vrdeferred renderingforward renderingrender order

[SOLVED] Forward Rendering is messed up

Hi everyone! I've been facing an issue with rendering paths and I'm unable to figure out why it happens. I've already searched the forum, StackOverflow and Unity Answers with no luck, so I apologize if this problem was posted and solved before.

We have to do a project upgrade for a VR game we made a while ago. The upgrade is from Unity 4.7 to 2018.1, and it uses NewtonVR, NGUI, Photon Engine, etc. A vast amount of obsolete code.

After some weeks of work we've managed to play the game in the Editor, with minor navmesh issues, but when we build the project the render queue just gets obliterated and everything goes wild.

We've come to a situation we can't understand: as long as the rendering path is set to Deferred or Legacy Deferred, everything is displayed correctly. But when we change the rendering path to Forward, the skybox renders in front of everything with a render queue inferior to 2501, and the transparencies are messed up (we can see even through opaque materials).

Deferred - Forward comparison Deferred - Forward (No Skybox) comparison

The shaders are okay, and the render queue assigned to every material is correct (we've checked in Debug Mode this value is set to -1), and leaving apart NGUI there are no queue changes at runtime.

We think SteamVR forces the rendering path to be Forward when we compile the project, but found nothing in the code. Is there something we're missing here?

If we're forced to use forward rendering in VR, how can we fix this annoying amount of chaos?

EDIT: I solved it! A coworker explained to me how the rendering pipeline works and that helped me to understand the readings of the Frame Debugger.

Turns out NGUI was clearing too many times the graphic buffer and messing up all the rendering depth. We'll have to port the interface to the built-in UI system.

deferred-forwardnoskybox.jpg (149.2 kB)
deferred-forward.jpg (88.9 kB)
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

  • Sort: 

Follow this Question

Answers Answers and Comments

114 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity 5.5 global/Player render path setting? 1 Answer

Issue when switching from deferred to forward lighting. 1 Answer

How to force Unity to use selected rendering path 1 Answer

Poor performance in Forward Rendering 0 Answers

How to enable antialiasing for Texture2D 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges