additive blending

This commit is contained in:
aarizona 2024-08-29 12:38:22 +03:00
parent 3b0e66208c
commit 7c2b82732f
1 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,8 @@ import {
CircleGeometry, MeshBasicMaterial, CircleGeometry, MeshBasicMaterial,
Quaternion, Quaternion,
RingGeometry, RingGeometry,
MultiplyBlending,
AdditiveBlending,
} from 'three'; } from 'three';
import { useTresContext, useSeek, useTexture, useLoop } from '@tresjs/core'; import { useTresContext, useSeek, useTexture, useLoop } from '@tresjs/core';
@ -196,6 +198,7 @@ const loadModels = async () => {
color: new Color(envVars.clear_color), color: new Color(envVars.clear_color),
map: pointerTexture.map, map: pointerTexture.map,
transparent: true, transparent: true,
blending: AdditiveBlending
}) })
) )
point_mesh.rotateX(-0.5 * Math.PI) point_mesh.rotateX(-0.5 * Math.PI)