UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

22 lines (17 loc) 388 B
// Read functions for Container GSplat format var gsplatContainerReadVS = /* wgsl */ ` fn getCenter() -> vec3f { #include "gsplatContainerUserReadVS" return splatCenter; } fn getRotation() -> vec4f { return splatRotation; } fn getScale() -> vec3f { return splatScale; } fn getColor() -> vec4f { return splatColor; } `; export { gsplatContainerReadVS as default };