#Sprite renderer using render texture

1 messages · Page 1 of 1 (latest)

viscid yarrow
#

better to use a thread @pure umbra

pure umbra
#

should work I guess?

#

idk i never did it with sprite renderer

#

only MeshRenderer

viscid yarrow
#

it works fine with quad

#

I guess I can just use that?

pure umbra
#

The only worry would be lighting

#

the quad will use 3D lighting stuff and if you're doing a 2d game with URP 2d lighting it won't work on the quad

hazy plover
#

amogus

viscid yarrow
#

oh you're right

#

I wonder why it won't work with sprite renderer then

pure umbra
#

I'd say keep playing with it? Not sure really.

#

Seems like it should probably work

#

Seemed like you're doing an unlit sprite shader anyway though right?

#

So it probably doesn't matter

viscid yarrow
#

well

pure umbra
#

since lighting isn't a factor

viscid yarrow
#

I'll probably be adding lighting at some point so

#

it should really be a lit shader

#

and I did have that

pure umbra
#

oh also sorting layers will be an issue

#

the MeshRenderer won't obey sprite sorting stuff

#

so yeah

viscid yarrow
#

uff

pure umbra
#

probably worth trying to get it to work with SR

viscid yarrow
#

you know anyone that works with sprite renderer?

#

Sprite Renderer using Render Texture

#

Sprite renderer using render texture

#

ah it's fine! just got it working

#

this helped a lot

#

no idea how that guy in the video managed to do it without it

#

but it works now paraffin_shrug