<Shader>
<Tint
color="#ff8800"
>
<Circle />
</Tint>
</Shader>
<Shader>
<Tint
color="#ff8800"
>
<Circle />
</Tint>
</Shader>
<Shader>
<Tint
color="#ff8800"
>
<Circle />
</Tint>
</Shader>
<Shader>
<Tint
color="#ff8800"
>
<Circle />
</Tint>
</Shader>
import { createShader } from 'shaders/js'
const shader = await createShader(canvas, {
components: [
{ type: 'Tint', props: { color: '#ff8800' }, children: [
{ type: 'Circle', props: {} }
]}
]
})