feat: use glsl 3

This commit is contained in:
TrèsAbhi committed 2024-03-01 10:27:11 -06:00
1 parent 7fb64e690f
commit e63549158b
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "blitzkrieg",
"version": "1.16.0",
"version": "1.16.2",
"description": "🎉 Tools for everything World of Tanks Blitz",
"main": "src/server.ts",
"type": "module",
@@ -1,6 +1,7 @@
import { useFrame } from '@react-three/fiber';
import { useEffect } from 'react';
import {
GLSL3,
MeshBasicMaterial,
Object3D,
ShaderMaterial,
@@ -38,6 +39,7 @@ export function CoreArmorSceneComponent({
thickness,
}: CoreArmorSceneComponentProps) {
const material = new ShaderMaterial({
glslVersion: GLSL3,
fragmentShader,
vertexShader,