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 /
  • Help Room /
avatar image
0
Question by string_username · Feb 27, 2017 at 11:53 AM · terrainlightinglevel editor

Annoying shiny terrain

Hi, I'm very new to Unity but familiar with C# and have unfortunately worked with GameMaker before (Thank god I tried Unity out), so go easy on me.

I'm just trying to design a decent level, but the light really bothers me.

This is supposed to look like a grass texture, however the odd reflection makes it look like something more solid. alt text

Also it looks very odd when altering terrain height

alt text

unitysample.png (407.8 kB)
unitysample.png (326.9 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 hexagonius · Feb 27, 2017 at 08:55 PM 0
Share

digged this from a forum thread about it:

So I think what happens is that today by default Standard shader does not allow enough roughness for the terrain. It is true that this problem is less noticeable in Gamma rendering mode, but mostly that is just side-effect of Gamma mode being less "right".

Currently our Standard shader is made to follow the roughness values of $$anonymous$$armoset Toolbag2 and I can see the same problem there too and no, adjusting Fresnel in Toolbag2 does not help either.

As a workaround for Terrain, I suggest to switch away from Toolbag2 roughness curve (yes, we have different roughness curve implementation inside Standard shader already - one which gives more range in the roughness). To do that download zip file with Builtin shaders (should be next to the link where you downloaded Unity5), extract it and copy following files into your project (no need to do any modifications to this files): TerrainShaders/Splats/Standard-FirstPass.shader TerrainShaders/Splats/Standard-AddPass.shader

then find UnityStandardConfig.cginc file in CGIncludes next to your Unity.exe (or inside Unity.app on OSX) and copy it into your project.

In UnityStandardConfig.cginc find #define UNITY_GLOSS_$$anonymous$$ATCHES_$$anonymous$$AR$$anonymous$$OSET_TOOLBAG2 1 and change it to #define UNITY_GLOSS_$$anonymous$$ATCHES_$$anonymous$$AR$$anonymous$$OSET_TOOLBAG2 0

Voila! (maybe you will actually need to assign custom shader in Terrain) Roughness should become "more rough" now

1 Reply

· Add your reply
  • Sort: 
avatar image
7

Answer by NicklasBergfeldt · Mar 26, 2017 at 08:43 AM

Simply set your "Alpha Source" to "None" for the material and it will look great! - the alpha is used for shininess, so for instance use the alpha layer (or a separate one) to more finely control this.

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

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

Related Questions

Why is one of my terrains lighter/brighter than the rest? 1 Answer

Intersecting sprites causes bug if using lights (2D) 1 Answer

Problem with Spot Lights on Terrain 0 Answers

Terrible Terrain Lighting 1 Answer

Incorrect shadows being displayed (see image) 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