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 /
This question was closed Feb 06, 2014 at 07:38 PM by MousePods for the following reason:

Didn't get answer and has moved on.

avatar image
0
Question by MousePods · Feb 05, 2014 at 09:06 PM · shaderslightglowprimitives

Shaders And Lights

I cannot figure out the right shader to use to make this work in unity free.

I have cubes setup as floors and walls.

The walls have lights that fade in and out when you touch them. I have the walls set to white. If I use a directional light, it messed up the lighting.

With Light On

But if I don't use a directional light, I cannot get the blocks to be white.

With Light Off

What shader should I use to allow the cubes to be white and also receive light?

Thanks!

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

1 Reply

  • Sort: 
avatar image
0

Answer by SunnyChow · Feb 06, 2014 at 02:03 AM

In Edit->Render Settings, there is a parameter called "ambient light", set it higher.

Comment
Add comment · Show 3 · 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 MousePods · Feb 06, 2014 at 02:32 AM 0
Share

This doesn't work. I cannot see any of the lights now.

Thanks for an answer tho!

avatar image SunnyChow · Feb 06, 2014 at 03:15 AM 0
Share

Oh i see. You want the mesh exactly white (255,255,255).

Lighting with default shaders cannot do what you want. Let's say the mesh is already (255,255,255). A blue light (0,0,255) will make it (255,255,510), which is still white. If you want it display as blue when the "light" is on, you should try projector

avatar image MousePods · Feb 06, 2014 at 03:44 AM 0
Share

It doesn't work but thanks for trying!

Follow this Question

Answers Answers and Comments

18 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

Related Questions

Point light becomes invisible when in front of UI panel 1 Answer

How to make an object emit light without using the standard shader 0 Answers

Emission shader doesn't "glow" 1 Answer

How to send an array of positions to a shader. 0 Answers

How to access shadow map depth values? 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