Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 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 /
avatar image
0
Question by env_warby · Jan 05, 2016 at 08:18 PM · shaderlightingshaderscubemapspecular

Why are Cubemaps and Specular highlights not equally blurry at the same Roughness / Glossyness value with standard pbr shader?

So I use the standard shader that comes with unity and I cant quite shake that feeling that something is way off with the blurriness/sharpness of specular highlights vs the cubemap reflection. In order to make sure its not any of my textures that are authored incorrectly I did a little experiment:

  • Made a sphere and gave it a default shader with all white albedo -cranked up the smoothness/roughness/glossyness slider to the max ( that actually makes the specular highlight become so sharp and small that it disappears so I took it down to 0.97) -cranked up the reflection probe resolution to the max (that is 2048 although I cant really see a difference past 256 ) -place a point light near it with a color value of pure white and intensity 1

and sure enough the sharpness of cubemap and specular highlight are way different:

alt text The cubemap displays its highest resolution mip stage with no blurring at smoothness 1 and the lowest (most blurred) at 0 as far as my eyes can tell so far so good but that specular highlight is always way too sharp the look it has at 0.5 is the one I would expect or "find aesthetically pleasing" at 0.9

Of course I understand that a point-light source and its specular highlight are abstract "none-real-life" concepts so there is no real comparison one could make via photos etc... but usually people use point-lights for stuff like light-bulbs torches and other small light-sources that emit photons in all directions. and if I check out those in reflections on photos or in real-life they match the sharpness of all the other reflected things.

Example image of a wet street

So Question: can I access and tinker with the source code of the default shader and add my own tweak/bias/fudge factor to align the specular highlight blurriness to the cubemap ?

unity-roughness-difference.jpg (470.6 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

· Add your reply
  • Sort: 

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

What kind of values come out of _WorldSpaceLightPos0? 1 Answer

How to add lighting to a cubemaped object? 2 Answers

How to illuminate sprite's back and front face but display result of lighting only on the front face? 0 Answers

Rendering Particle Systems to Command Buffer 1 Answer

Shader not changing according to scene light in real time. 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