-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not an issue - Amazing Project! Would love to have a URP version, even payed! #14
Comments
I don't have enough time to do this personally. If you are writing a URP shader all you need is to make sure the instancing procedural setup function is being called. Here is the simplest shader: To have the instancing working, it needs the the .cginclude has some other useful but non required function in it too https://github.com/mkrebser/GPUInstance/blob/master/Assets/Resources/GPUInstance/gpuinstance_includes.cginc#L61 The only required function is the |
Thank you so much for your time, really appreciate it!
|
Oof yeah, it would appear URP can't be done based off that page Not supported on the latest unity version either https://docs.unity3d.com/2023.2/Documentation/Manual/gpu-instancing-shader.html |
That's very unfortunate! Anyway, thanks for your time! :) Gonna have to find another solution... |
Alright maybe there's hope! |
Hi, has anything else come up? The project is really great. Unfortunately I haven't found a way to get it running in URP. Best regards. @giantgrey can you upload your almost running project? |
After a bit of experimenting with Unity's Shader Graph, the project also works in URP. Runs really great. The tip with the video and GPU instancing really helped. |
Can you share with us? please! Thank you for being the greatest! |
Yes, of course. I'll put together a PullRequest. For now, I've implemented the most necessary shaders for our project so that the crowddemo runs. However, you should also be able to rebuild all the others with the custom nodes in Shader Graph. Regards |
+ URP version + Shaders for SkinnedMesh and default materials. + All others can be created in the Shader Graph. The nodes can simply be transferred for this purpose. closes mkrebser#14
Hello,
this is not an issue. I just try to reach out to you this way. :)
First of all, I want to say this project is amazing! Compared to other gpu instancing solutions this one is by far the best!
I would love to have URP support. Is there any way you could help me in this regards? I tried to convert the shaders myself but without any luck. I would definitely be willing to pay for a URP version.
The text was updated successfully, but these errors were encountered: