Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 tonycoculuzzi · Nov 10, 2012 at 04:53 PM · shadereditorlightmap

How can I get the same look in-game that I have in-editor?

I'm working on a quick project, and I stumbled across a really cool style that I can only get In-Editor, and not in-game. I have baked a lightmap onto a model with a diffuse shader colored orange, and it looks terrific in-editor (shiny, very chomatic) but in-game it looks boring and flat.

Anyone know how I can get the in-editor look, instead of the flat in-game look?

Here are a the examples of what I mean:
In-Editor, looks great, lots of shine
This is in-editor. It looks shiny and interesting, very metallic. Note, the "Use Scene Light" toggle (the sun icon) is not on.


In-Game, very flat and boring
This is in-game. It looks flat and boring.

editor.png (392.4 kB)
game.png (97.0 kB)
Comment
Add comment · Show 5
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 liszto · Nov 10, 2012 at 06:36 PM 0
Share

With a diffus shader it's gonna be complicated to have this result in the "Ingame" window.

$$anonymous$$aybe use a specular shader can be a good thing to obtain this. And in the "ingame" window without lightmap what kind of result did you have ?

avatar image tonycoculuzzi · Nov 10, 2012 at 07:07 PM 0
Share

I got the result but adding a directional light that also effects the model, even after being lightmapped. $$anonymous$$oving the directional light gives the metallic looking effect. I tried a specular shader but to no avail, but I think I've figured it out :)

avatar image liszto · Nov 10, 2012 at 11:16 PM 0
Share

you can find the specular shader here :

http://unity3d.com/support/resources/assets/built-in-shaders

avatar image Julien-Lynge · Nov 10, 2012 at 11:36 PM 0
Share

BTW: the only reason it looks this way in the editor is that you have scene lighting turned off (the light icon along the top of the scene view). If you turn that on, you'll be able to see in the editor what it will look like in the scene.

avatar image liszto · Nov 11, 2012 at 12:27 AM 0
Share

Or disabled your dynamic light in your game on start.

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

11 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

Related Questions

Loaded Lightmaps Clearing On Play 1 Answer

Emissive shaders not working 0 Answers

Assign texture to shader bypassing material (in Unity Editor) 1 Answer

Inverted Normals in Player, correct in Editor? 1 Answer

using shader keywords to toggle pass 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