#Sprite ShaderGraph

1 messages · Page 1 of 1 (latest)

heady charm
#

I don’t think so.. I’m creating this thread so we don’t get lost in the middle of other conversations 😅

#

I’ve read something about using marching squares to create the mesh with the same shape as the texture

severe kraken
#

I don't think you need to go that far. Try using the alpha clipping property

heady charm
#

same same

#

tried to bump all the way up to 0.8

severe kraken
heady charm
#

It works

#

the shadow however is a bit strange because of the billboard

severe kraken
#

How strange? Seem normal to me.

heady charm
#

When I rotate the camera there's an angle it is gone

severe kraken
#

The shadow?

heady charm
#

yes

severe kraken
#

Take a screenshot

heady charm
#

I'm billboarding the mesh/renderer

severe kraken
#

You mean when the quad is perpendicular to the light direction?

heady charm
#

yes

severe kraken
# heady charm

How is the quad rotated here? Enable gizmos so that we can see...

#

There's nothing you can do about the shadows disappearing when the quad is perpendicular to the light direction. It's basically a sheet of paper. If you place a sheet of paper perpendicular to the light direction in real life you wouldn't see any shadows either.🤷‍♂️

heady charm
#

yeah, thats true

#

is there any way i can create a directional light that would only affect those meshes sprites and would rotate with my camera?

severe kraken