Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by TopBananaShana · Jan 06, 2021 at 01:03 PM · webgldeferreddeferred rendering

Deferred rendering causing objects to become invisible, but only on WebGL build!

Game runs fine in editor and in PC/Mac builds, everything is visible. But when I build and run for WebGL the majority of my objects don't render. Oddly, some objects do - some grass and the transparent elements on the windows.

If I walk around the environment I still collide with the unrendered objects and if I twist the camera at very specific angles I can see brief flashes of the invisible objects.

I've tried:

  • changing the shaders of the unrendered objects

  • turning on and off static batching

  • changing the camera clipping

  • turning on and off the occlusion of the objects in inspector

If I convert the rendering of the solid materials to 'Transparent' they show up, but no other rendering mode. The only thing I can find that works is changing the camera rendering from Deferred to Forward, then everything show's up. However, with rendering with any setting other than Deferred my draw call (batches) doubles... I'm trying to optimise this build to be able to run on very low-end systems so I was trying to keep this down! alt text

alt text





UPDATE: Ok so if I change the shader to for example a Mobile diffuse it renders, but does anyone know why this is? (and only on WebGL?) And is there another alterative shader to the standard that would be recommended?

UPDATE2: Using a custom shader and changing the render queue to 'transparent' allows it to be visible, no idea why! Or if using this would pose any running issues.

screenshot-58.png (197.6 kB)
screenshot-57.png (435.3 kB)
Comment
Add comment · Show 1
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
avatar image bspurr · Jan 24, 2021 at 04:26 AM 0
Share

I am having the same issue and I am new to shades. How do you change them? I imported the URP and now on webgl my while game is invisible but everywhere else it works fine

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by unity_03shiju123 · Apr 28 at 05:01 AM

I'm also facing the same issue.deferred rendering path makes everything invisible but changing to forward increases the drawcalls.

Did anyone found any fixes for this issue

@TopBananaShana

Comment
Add comment · Share
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

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

117 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 avatar image avatar image avatar image

Related Questions

orthographic camera with deferred lighting 2 Answers

Lighting issues (weird lines/circles on 3D objects) 1 Answer

Edge Detection with Deferred Rendering? 1 Answer

exclude_path:deferred causes see through? 0 Answers

Deferred Lighting Rendering 1 Answer


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