Hello !
I create a 2D game with unity and I wanted to apply a grass material on a 3d plane
The problem is that it’s very dark:
If anyone will have an answer
Thank you!
Hello !
I create a 2D game with unity and I wanted to apply a grass material on a 3d plane
The problem is that it’s very dark:
If anyone will have an answer
Thank you!
Sorry I an not good at 3d, I think, by default 3d objects need light in the scene.
You can:
-add global light
-use unlit shader for the grass
-go into Window - Rendering - Lighting and make ambient Light more bright.
Thank you, it works!
I forgot to use an unlit shader…
I think that materials are meant for 3D stuff, since in sprite renderer you can change colors. But if you wanna have materials, add light to scene
Materials are for both 2D and 3D. In 2D the default material supports tinting tho. Behind the scenes, the Sprite Renderer sends its tint color to the shader to affect the final output colors. You could use a different shader/material to alter how that that tint color is interpreted and displayed. Shader Graph 2023 + supports this now.
Overall, sprite colors can be influenced by:
scene lighting, global lights & other lights (if you’re using 2D Renderer, you need to look for Light2D)
color tinting (see Sprite Renderer’s color property, darkening or alpha?)
something going on with the shader or material (do you have the right lit/unlit material?)
the colors they’re adjacent to (purely a perceptive difference)