Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2.0/src/renderers/webgl/shader.ts";

type

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