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
1
Question by Mads_Albertsen · Mar 18, 2016 at 12:45 PM · texturebuild errorcolor change

Terrain changes color in WebGL build

I am a complete novice in Unity, so please bear with me if I am asking dumb questions. I am building a terrain with snowy ground. But when I build for WebGL, it turns brown/black. Any ideas?alt text

alt text

skjermbilde-2016-03-17-101901.png (383.2 kB)
skjermbilde.png (320.7 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 Hellium · Mar 17, 2016 at 01:40 PM 0
Share

What shader are you using ? THe shader may be incompatible with WebGL, simply

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Mads_Albertsen · Mar 30, 2016 at 01:07 PM

I am not sure what shader I use. I have not found where to apply it. I am probably using the standard shader.

I have how ever used a normal map for the snow material. I read somewhere that I do not need a normal map when using the standard shader, but after delering the normal map from the snow material, the snow were still brown/black in the WebGL build.

I tried to add a new terrain without adding any material, but that terrain too is brown/black in the WebGL build.

alt text


material.png (255.4 kB)
terrain-properties.png (82.5 kB)
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
avatar image
0

Answer by pieterdhondt · Mar 16, 2017 at 08:34 PM

I'm having a similar problem.

When building for WebGL, the terrain is very dark. Like there is no light source. But on all other platforms (Win/Mac/iOS) it looks great. I've tried all the available options in Material dropdown in the Base Terrain settings, but all have the same result..

Is there a solution for 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

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Making a map: How to change color of specific areas in texture? 0 Answers

Need to change color of a texture 2 Answers

change part of texture with color or other texture 0 Answers

Transparent texture and object with changing color 0 Answers

How to change color of all the pixels from a sprite that have a given color value? 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