MatcapMaterial
Creates a THREE.MeshMatcapMaterial with baked lighting and color that can cast, but not receive, shadows.
<Box>
<MatcapMaterial name="392307_B3AE7D_6D5618_847C42" />
</Box>
You can use the name of any of these matcaps in the name
prop. Click on a matcap image, then copy the name you'd like to use.
Source : https://github.com/troisjs/trois/blob/master/src/materials/MatcapMaterial.ts
Props
Inherits all base props and accepts the following :
Name | Description | Type | Default |
---|---|---|---|
name | Name of matcap (from this repo) to use. Overrides src if set. | String | |
src | URL for matcap image. | String |