<PointMaterial /> extends THREE.PointsMaterial. It renders the points as dots, rather than the default squares.
<script setup lang="ts">
import { TresCanvas } from '@tresjs/core'
import { PointMaterial, OrbitControls } from '@tresjs/cientos'
</script>
<template>
<TresCanvas>
<TresPerspectiveCamera :position="[3, 3, 3]" :look-at="[0, 0, 0]" />
<OrbitControls />
<TresPoints>
<TresIcosahedronGeometry :args="[1, 4]" />
<PointMaterial
:size="5"
color="orange"
/>
</TresPoints>
<TresAmbientLight />
</TresCanvas>
</template>
All THREE.PointsMaterial properties are inherited by PointMaterial.