SFraissTU / BA_PointCloud

PointCloud-BachelorThesis
BSD 2-Clause "Simplified" License
185 stars 42 forks source link

Shader Adaptation #34

Closed chris-traxler closed 3 years ago

chris-traxler commented 3 years ago

Adaptation of shaders to Single Pass Instanced Rendering required by Unity 2020 XR Plugin Management. This enables stereo rendering for point clouds in XR applications. See: https://docs.unity3d.com/Manual/SinglePassInstancing.html.

Beside shaders small modifications in scripts were necessary to enable GPU instancing of dynamically created materials.

Only tested with Unity 2020.3.