Page MenuHome
Authored By
Chau (BlenderNavi)
Aug 20 2022, 5:38 AM
Size
623 B
Subscribers
None

InvisoPower.vsh

//
// InvisoPower.vsh
//
// Created by 小小 on 15/7/2553.
//
// ---- attribute for vertex
attribute vec3 position;
attribute vec4 color;
attribute vec2 textureCoordinate;
// ---- ma trix
uniform mat4 matrix_projection_view_model;
// ---- change no uniform
varying vec4 color_noUniform;
varying vec2 textureCoordinate_noUniform;
void main() {
// ---- transform vertex position for camera
gl_Position = matrix_projection_view_model * vec4(position, 1.0);
// ---- calculate texture coordinate
textureCoordinate_noUniform = textureCoordinate;
// ---- vertex color
color_noUniform = color;
}

File Metadata

Mime Type
text/x-c
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
8e/40/32c281bc2d3c1be97dfb459d050c

Event Timeline