oculus-samples / Unity-TheWorldBeyond

Presence Platform showcase demonstrating usage of Scene, Passthrough, Interaction, Voice, and Spatializer. The Oculus SDK and other supporting material is subject to the Oculus proprietary license. Multiple licenses may apply.
MIT License
321 stars 88 forks source link

Not compatible with URP #16

Open vincismurf opened 11 months ago

vincismurf commented 11 months ago

Could you provide URP version of the shaders?

otherwise all the shaders are magenta. I am muddling thru a conversion ( Ottps://developer.arm.com/documentation/102487/0100/Migrating-custom-shaders-to-the-Universal-Render-Pipeline ) But a experienced graphic dev should be able to do this much faster.

Unity is planning on making URP the default, it would be great to see this project get updated accordingly.

vincismurf commented 11 months ago

URP.zip Here is a handful of shaders to get the default scene working.

Note to those using it, Select Material, note Render Queue , Replace shader with Custom/_URP
Update Render Queue number

Note I am not a graphics engineer and it isn't the whole repo just an after noon of moving CG to HLSL.

Please have a graphics engineer review before committing , some multi pass logic might be wrong.

v23v commented 11 months ago

Yes, I hope the sample project can set URP as the default rendering pipeline