Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/caviar/src/renderers/webgl/shader.ts>vertex3d

⚡ Blazing fast, modern, Game Engine powered by WebGPU for Deno and the browser
Go to Latest
variable vertex3d
import { vertex3d } from "https://deno.land/x/caviar@2.5.4/src/renderers/webgl/shader.ts";

type

` #version 330 core attribute vec4 aVertexPosition; attribute vec4 aVertexColor; uniform mat4 uModelViewMatrix; uniform mat4 uProjectionMatrix; varying lowp vec4 vColor; void main() { gl_Position = uProjectionMatrix * uModelViewMatrix * aVertexPosition; } `