#How do i create a paperdoll in HDRP if i

1 messages · Page 1 of 1 (latest)

prisma cloak
#

It's not a perf nightmare under all circumstances, if you only need an extremely limited set of frame data it isn't nearly as bad as it seems in-editor. No experience with a paperdoll but what rendering passes do you need from the second camera? If it's only a single pass or the like i'd try setting up that second camera with Custom Frame settings and only include what you need for that feature

tame ore
#

this is what i want to do

#

this is my project in URP

prisma cloak
#

Be especially careful about profiling the cameras in-editor, it's next to worthless data you will need a build profile

tame ore
#

but when i tried on HDRP the framerate drops

#

I see

#

did`nt knew that

prisma cloak
#

You could also just issue a manual draw for that same mesh in a different location from code if you're at all comfortable with doing manual draw calls

tame ore
#

But what about shadows, etc?

prisma cloak
#

It'll propably need some setting up for skinned render though, you'll need access to the mesh data After the skinned mesh has already been rendered in gameview, only then drawing that paperdoll

tame ore
#

lighting

#

it will use same lighting as main scene?

prisma cloak
#

With a code render you could customize that or even substitute an entirely different shader for it. If this isn't a familiar topic, i would just try the second camera with heavily stripped frame settings first and profile in build to see if its even a problem worth tackling

tame ore
#

Okay, i will try a stripped frame settings

#

Looks good

#

i did not tried on build yet

#

but on editor the overhead was really high

prisma cloak
#

With correct settings it's propably not a major impact in a build, you can likely get it down to a few frames of impact if you can strip down most of it