在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):ColinLeung-NiloCat/UnityURP-MobileDrawMeshInstancedIndirectExample开源软件地址(OpenSource Url):https://github.com/ColinLeung-NiloCat/UnityURP-MobileDrawMeshInstancedIndirectExample开源编程语言(OpenSource Language):C# 58.1%开源软件介绍(OpenSource Introduction):UnityURP-MobileDrawMeshInstancedIndirectExampleyoutube runtime demo video: https://youtu.be/A7rav4tS88s DrawMeshInstancedIndirect ON DrawMeshInstancedIndirect ON (grass bending) DrawMeshInstancedIndirect OFF Why create this repository?To demonstrate an API that can draw millions of instance -> DrawMeshInstancedIndirect(), running on mobile devices. Can this demo runs on midrange mobile?
Requirementif you want to try the pre-built .apk, your android device must support Opengles3.2 / Vulkan Where are the important filesEditor2019.4.15f1 NoteThis is a simplified example repository to demonstrate DrawMeshInstancedIndirect API on mobile platform. Lighting and animation is not the main focus of this project, but ~40% of the time was spent on writing grass shader's lighting & animation, you can have a look at InstancedIndirectGrass.shader if you are interested. This repository also contains a RendererFeature(GrassBendingRTPrePass.cs) to render an offscreen RT(R8), which renders top down view grass bending area (by trail renderer following moving objects), it is a very simple method but the result is good enough for this demo. reference
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论