#Shadows on leafs

1 messages · Page 1 of 1 (latest)

ionic cliff
#

Guys i have a question about creating leafs but idk in what channel i need to put it in? I have imported an fbx inside of my project and im using it for tree generation but the problem is that the shadows on the leafs are so heavy and too strong, can i edit this in the fbx settings? Or how can i change this? maybe with a shader?

#

my shadergraph

#

i also have an animation for the leaves but i dont think the problem is in there

snow yacht
#

Start by just adding a bit of the base color into emission

ionic cliff
snow yacht
#

Sure, start with that and see how it looks

#

You probably want to multiply the emission with like 0.1 though

#

So it just brings out the shadows a bit

ionic cliff
#

without the multiply even

snow yacht
#

(This solution will ofc look weird at nighttime - you'd need to adjust the emission based on time of day if that's an issue)

ionic cliff
#

aah fk, i forgot to mention

snow yacht
ionic cliff
#

im using Mtree as a tree generator tool

snow yacht
#

You can do more, but then you probably want to cancel the base color out a bit

ionic cliff
#

in there i have the option to turn off the shadows

ionic cliff
snow yacht
#

I just mean make it darker

#

(Multiply with < 1)

ionic cliff
#

aah, ye i even want it lighter tbh

snow yacht
#

I mean make the emission higher, but make the base color darker so it doesn't burn out

#

Also subsurface scattering is a thing in HDRP at least, not sure about URP

queen condor
#

You can't really "cancel out" the color of a lit shader, because dark and bright colors will still reflect light

snow yacht
#

I mean canceling out the effect of cranking up the emission. Not sure if we want these areas even brighter

ionic cliff
#

the thing is, when cranking up the emission nothing happens

snow yacht
#

How are you doing it?

ionic cliff
#

like it shows that its going up but in my scene it stays the same

#

is that because of my tree generater tool?

#

Dont know if you guys are familiar with Mtree

snow yacht
#

Nope, no idea about that

ionic cliff
#

Damn, its just a tool to generate the leaves around the tree, when i turn of the "cast shadow" option its like i want it to be but then i have 0 shadow anymore

#

aah no, no im wrong

snow yacht
ionic cliff
#

sorry

snow yacht
#

Left image looks like shader graph preview

ionic cliff
ionic cliff
snow yacht
#

Did you check ShadowIntensity's value in the material's inspector?

ionic cliff
#

its extremely high

snow yacht
#

So absolutely nothing happens when you adjust it?

ionic cliff
#

Nope

#

its strange

#

aah if i set my surface type to transparent it works

#

the emission

#

but then i get this weird shadow effect