• 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 Nov 20, 2013 at 04:45 PM by kubci98 for the following reason:

The question is answered, right answer was accepted

avatar image
0
Question by kubci98 · Nov 20, 2013 at 04:08 PM · lightingspritesprite renderer

Sprite renderer lit by light

Is there any way how to lit 2d sprite with light? Using diffuse material doesn't work and I don't think that using plane and mesh renderer is good solution.

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
3
Best Answer

Answer by sambickley · Nov 20, 2013 at 04:36 PM

Lighting should indeed be working on sprites using the Sprites/Diffuse shader. Check if the light you're using is in-front of the sprite object in the world, and if not then submit a bug (Help > Report a Bug).

Comment
Add comment · Show 1 · 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 liortal · Apr 25, 2014 at 08:37 AM 0
Share

I cannot find this shader. Where do i select it from ? $$anonymous$$y sprite only has the "Sprites-Default" material associated to it.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

19 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

Related Questions

How do I make a working, tiling Sprite shader that works with 2D LWRP? 0 Answers

How to illuminate sprite's back and front face but display result of lighting only on the front face? 0 Answers

Make Sprite-Diffuse shader work on mesh renderer? 0 Answers

Sprite Diffuse Overlapping Problem 0 Answers

How do I change Sprites (and manipulate the Sprite Object) in C#? 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges