Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 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
3
Question by TieSKey · May 22, 2015 at 09:58 PM · shaderterrainunity5

How to remove unwanted shine (smoothness) on terrain?

Is there any way to turn off the smoothness without reverting to the legacy shader?

What you can see on the screenshot below is a unity 5 terrain with the new shader and some textures. Given the camera/terrain angle and a directional light, a very bright shinny area appears over that texture (since it is the cliff texture I guess). The texture itself is a png with NO alpha channel. Changing the smoothness factor towards 1 just concentrates the shine, but it won't disappear.

It seems really unnatural to have shinning dirt and rocks :S (would look good for metallic/lustrous floors)

Screenshot

Link to screenshot

Comment
Add comment · Show 4
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 RLin · May 22, 2015 at 11:14 PM 0
Share

If you are using the standard shader, set the metallic to zero or a low value.

avatar image TieSKey RLin · May 23, 2015 at 12:22 PM 0
Share

Thx but as you can see on the screenshot, the metallic is already set to 0. The parameter that directly affects this shiny area is the Smoothness but neither 0 or 1 removes it, only changes its size and intensity. I need to completely remove the shine.

avatar image screenname_taken · May 23, 2015 at 05:31 PM 0
Share

click on the terrain mesh and see what is used in the reflection probe. Set it at "off".

avatar image TieSKey · May 23, 2015 at 10:51 PM 0
Share

@screenname_taken Reflection Probes was already set to Off in the terrain :S

7 Replies

· Add your reply
  • Sort: 
avatar image
9
Best Answer

Answer by ahgr123 · May 23, 2015 at 05:11 PM

You NEED alpha channel, if theres none it will be intepretated as white which is high shine, add alpha channel in your image editing program and color it to black. It solved issues with shine for me.

Comment
Add comment · Show 9 · 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 TieSKey · May 23, 2015 at 08:42 PM 2
Share

Thx, this works. But wow, I have to say this is bad design from Unity. Having to add a completely black (fully transparent) alpha channel to a texture to remove a shine that's not useful at all for opaque/diffuse textures is stupid for several reasons:

  • jpg doesn't support alpha

  • Windows will preview such textures (at least for .png ones) as a complete transparent image, making it hard to spot.

  • Image edition programs will show a fully transparent image... u have to deactivate the alpha channel to work on it.

  • The extra channel takes more space. By default the jpg texture was compressed to DXT1 for around 170$$anonymous$$b. The same texture as png with alpha channel was compressed by unity to DXT5 for around 340$$anonymous$$b.

avatar image ahgr123 · May 24, 2015 at 12:59 PM 1
Share

Agree, and it also takes lots of time to do.... I mean one texture is good, but when you have them 300 ? Then you are f**ed.

avatar image Bunny83 · May 24, 2015 at 01:22 PM 0
Share

$$anonymous$$eep in $$anonymous$$d that if you import the image with "read / write access" you can add / change the alpha values at runtime.

But i agree that it would be more useful if they either provide a seperate shader which doesn't calculate specular highlight at all, or have some kind of option to turn it off. The first solution would make more sense since it would increase the performance.

avatar image Ahmed Abdul Salam · Jan 18, 2016 at 04:28 PM 1
Share

Can u Pls pls show me how to fix this metallic shine problem..? i would be rly glad.. iam enough dumb and new to this area and this unwanted $$anonymous$$ETALLIC shine is causing disaster in my terrain texture..

i wish you would help me with a detailed STEP-BY-STEP approach / video approach..

Thanks

PS: if i didnt reply to this msg here.. then i rly wish you to reply me to my email

gmail = ga.abdulsalam@gmail.com

avatar image ahgr123 · Jan 19, 2016 at 04:12 PM 0
Share

Ahmed Abdul Salam... here it is..it's not my video though

https://www.youtube.com/watch?v=_T5utHSSu5w

Show more comments
avatar image
12

Answer by Damiankarlfriston · Aug 25, 2015 at 08:21 PM

I don't know of this helps anyone, but I just came on with the same question. If you click on the terrain gear icon and click on "Material" and set it to "custom" that took away the glossy shine for me. I'm not very experienced with Unity so I don't know how this could negatively impact your project, but for me it was a quick fix, if that's what you're looking for. Good luck!

Comment
Add comment · Show 4 · 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 TieSKey · Aug 25, 2015 at 09:10 PM 0
Share

The default terrain shader is optimized (or it should be) and has some special "features", changing it to custom and leaving it "blank" will make it use a plain diffuse shader I guess. It may remove the shine but will probably look bad and slow. $$anonymous$$ay work for small, simple terrains though :P

avatar image uveritegames · Mar 25, 2016 at 10:25 PM 0
Share

this worked for me

avatar image $$anonymous$$ · Jun 16, 2016 at 07:49 PM -1
Share

Just came across this and thanks Damiankarlfriston. $$anonymous$$uch better than the overly complex answers often given.

avatar image The-Sam · Jul 16, 2016 at 07:19 AM 0
Share

This worked for me without messing up my lighting work. Thanks!

avatar image
11

Answer by sporkflips · Dec 15, 2016 at 03:43 AM

Another alternative is perhaps to select the texture and change the Alpha Source in the inspector to "None"

Comment
Add comment · Show 5 · 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 BrandonHill · Feb 02, 2017 at 08:07 PM 0
Share

This is the correct solution I$$anonymous$$O - default import settings are "Alpha Source = Input Texture Alpha" even for JPGs. Setting this to "None" is what you should do for all JPGs (actually, Unity should), and also the Terrain Texture Editor window is aware of this setting and exposes a "Smoothness" slider as an equivalent for images without an alpha channel.

avatar image Bunny83 BrandonHill · Feb 03, 2017 at 03:45 AM 0
Share

As far as i can tell, this is a "quite new" setting. The question and answers are from mid 2015

avatar image TheGreatCabbage · Mar 22, 2017 at 02:10 PM 0
Share

That works well for me. Thanks!

avatar image abstractfragment · Feb 23, 2020 at 10:01 PM 0
Share

Working in Unity's HDRP and I had this issue. This solution completely solved the problem.

avatar image drewjosh · Jun 15, 2021 at 07:30 PM 0
Share

You are amazing! This should be the accepted solution what the heck?!

avatar image
3

Answer by SGT_GQ · Feb 04, 2017 at 08:21 AM

Click on the material, go to Alpha Source and change to - From Grayscale

Comment
Add comment · Show 4 · 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 Spyter · Mar 13, 2017 at 12:26 PM 0
Share

This resolved the issue for me. Thank you so much! I've been forum hunting trying to find a resolution..

avatar image drewjosh · Jun 15, 2021 at 07:31 PM 0
Share

This didn't work for my texture (png). It helped to put it on None.

avatar image ChrisRArendt · Mar 03 at 04:05 AM 0
Share

Worked for me thank you so much!

avatar image JasonJ1968 · Apr 23 at 01:46 AM 0
Share

Alpha Source "None" did not work for me but, "from Grayscale" did, thank you

avatar image
0

Answer by olok · Mar 06, 2017 at 04:17 PM

Go to Terrain Setting change Texture to Built In Legacy Diffuse

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
  • 1
  • 2
  • ›

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

43 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

Related Questions

unity 5 terrain shaders 3 Answers

How to tint the specular map in Unity5 0 Answers

Billboard trees glow white in dark scene. 2 Answers

Adding a static fog in the bottom of a terrain 1 Answer

FX/Flare is always on top 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