Skip to content
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

GPU Instancing not working with ASW #19

Open
rihadavid opened this issue Nov 15, 2022 · 2 comments
Open

GPU Instancing not working with ASW #19

rihadavid opened this issue Nov 15, 2022 · 2 comments

Comments

@rihadavid
Copy link

When I turn on ASW, GPU instancing stops working on the shaders with MotionVectors.
Is this a bug or am I doing something wrong?
Can it be fixed or is it impossible to have GPU instancing with ASW?

@hanisherif1997
Copy link

i am having the same problem here too

@iliaakm
Copy link

iliaakm commented Feb 26, 2024

GPU instancing can't work with motion vectors, because OculusMotionVectorPass sets drawSettings.perObjectData = PerObjectData.MotionVectors; that disables instancing. Use SRP batching instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants