Page Menu
Home
Search
Configure Global Search
Log In
Files
F13407270
InvisoPower.vsh
Chau (BlenderNavi)
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Chau (BlenderNavi)
Aug 20 2022, 5:38 AM
Size
623 B
Subscribers
None
InvisoPower.vsh
View Options
//
// 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
Details
Attached
Mime Type
text/x-c
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
8e/40/32c281bc2d3c1be97dfb459d050c
Attached To
T100515: 'Invert' Reference Empty - Image
Event Timeline
Log In to Comment