GSplat
Gaussian Splats are a new way of capturing and rendering high quality 3D content. They capture the shape and lighting of a scene in a way that produces incredibly high quality results. You can read more about Gaussian Splats in the PlayCanvas docs or view this Youtube video .
Usage
Once you load a Gaussian Splat model, you can use the GSplat
component to render it.
import { GSplat } from '@playcanvas/react/components'
const Splat = (( src, ...props )) => {
const { data } = useGSplat(src)
return (<Entity {...props}>
<GSplat asset={data} />
</Entity>)
}
Props
The following props are based on the GSplat Component from PlayCanvas version 2.3.3. This documentation is automatically generated from the TypeScript types of the installed PlayCanvas package.
Last updated on