- Home /
Lighting in project assets window
I'm making a 2D game with some custom shaders on the sprites which make lights very important to them. I.e. rather than a default sprite shader they have a diffuse shader, so they go very dark when there's no light on them. In-game, we vary ambient light to do day-night cycle. But in the assets window the prefab previews look really dark.. the scene's ambient light does not affect the prefab previews. Does anyone know how to fix this?
Your answer
Follow this Question
Related Questions
Distort shader not showing sprites 2 Answers
Sprite Renderer Boundaries 2 Answers
How do I write a cutout sprite shader to depth depthtexture ? 0 Answers
Allow 2D sprite to receive light from any direction and show on both sides 0 Answers
How do I create a shader that uses the built-in SpriteRenderer color? 0 Answers