Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 arturoza · Mar 27, 2016 at 09:54 PM · lightingocclusion cullingocclusion-culling

How to achieve this type of Occlusion?

Hi, so I downloaded the VR assets and I looked at the Maze scene, I tried to copy the occlusion from the maze but I haven't been able to, I copied every setting, material, shader, etc. and I still am not able to reproduce the same effect.

alt text

on the right there's the original maze, as you can see, even though it has the same settings, lighting, occlussion, materials, etc it doesn't look the same.

alt text

captura.png (120.2 kB)
2.png (71.2 kB)
Comment
Add comment · Show 2
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 Polymo · Mar 28, 2016 at 06:00 AM 0
Share

A wild guess, maybe this has the occlusion baked into the vertex colors.

avatar image Eudaimonium Polymo · Mar 28, 2016 at 11:58 AM 0
Share

But that would carry over into a new instance when you duplicate it, yes?

3 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by ComputerLag · Mar 28, 2016 at 02:47 PM

The only difference between the default Maze scene and your scene is the lighting settings.

The maze scene uses non-directional light, and a custom cubemap for reflections. It also uses gradients instead of lighting.

I wrote up a detailed post on all the specific settings but it was pending approval and is now lost. Just check all the settings in the lighting tab.

Comment
Add comment · Show 1 · 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
avatar image arturoza · Mar 28, 2016 at 03:00 PM 1
Share

I just saw the gradient in the scene, I leave the image of the settings, until now I never heard of this kind of settings, I think is great for mobiles and requires very little effort to make an scene well lit. Thank you!

alt text

lighting-settings1.png (48.4 kB)
avatar image
0

Answer by Eudaimonium · Mar 27, 2016 at 11:42 PM

If I'm understanding it correctly, the maze on the right has a slight shadowing on it, while the new one on the left is flat white? That's what you need to fix?

Window -> Lighting, uncheck Auto and hit "Bake". This will bake the lights in the scene for you, as well as create the shadow and ambient occlusion effects.

Make sure your other maze is marked Static.

Comment
Add comment · Show 2 · 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
avatar image arturoza · Mar 28, 2016 at 02:36 AM 0
Share

Even if I do so, the maze stays the same, I guess because there are no lights on the scene, I can add a similar effect if i add a directional light, but if I delete it the effect goes away, how were they able to achieve this so well lit scene without a light on it.

avatar image Eudaimonium arturoza · Mar 28, 2016 at 11:59 AM 0
Share

There are quite a few lighting options. Check the "Baked GI" section, specifically "Ambient Occlusion" and "Final Gather" options. AO is at zero by default and Final Gather is turned off.

Try playing around with settings and see if it helps.

I see no reason to remove the light from the scene once you've baked the lightmaps, why would you want to remove it?

avatar image
0

Answer by ComputerLag · Mar 28, 2016 at 02:44 PM

The effect is called Ambient Occlusion. It doesn't seem that their scene uses or bakes in Ambient Occlusion, it's just how the lighting is configured in the scene.

In the Window -> Lighting the VR maze sample has some changes from the default lighting setup.

Environment Lighting

  • Ambient Source = Gradient

  • Sky Color = RGBA(248, 248, 248, 255)

  • Equate Color = RGBA(227, 227, 227, 255)

  • Ground Color = RGBA(195, 195, 195, 255)

  • Reflection Source = Custom

  • Cubemap = MazeSkybox

Disable Baked GI (Unchecked)

General GI

  • Directional Mode = Non-Directional

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

48 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

Related Questions

Light visibility optimization 0 Answers

Scaling an occlusion culled mesh 1 Answer

In Unity4 is it possible to apply the occlusion culling for procedural objects? 1 Answer

Custom Occlusion Culling at runtime? 1 Answer

Occlusion Culling breaks in fully enclosed room 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