Update #18 - Final release, added PBR shaders

This commit is contained in:
LAX1DUDE
2023-04-07 16:48:33 -07:00
parent af6d2ffc18
commit b2274a25b0
497 changed files with 28342 additions and 1014 deletions

View File

@ -0,0 +1,33 @@
#line 2
/*
* Copyright (c) 2023 LAX1DUDE. All Rights Reserved.
*
* WITH THE EXCEPTION OF PATCH FILES, MINIFIED JAVASCRIPT, AND ALL FILES
* NORMALLY FOUND IN AN UNMODIFIED MINECRAFT RESOURCE PACK, YOU ARE NOT ALLOWED
* TO SHARE, DISTRIBUTE, OR REPURPOSE ANY FILE USED BY OR PRODUCED BY THE
* SOFTWARE IN THIS REPOSITORY WITHOUT PRIOR PERMISSION FROM THE PROJECT AUTHOR.
*
* NOT FOR COMMERCIAL OR MALICIOUS USE
*
* (please read the 'LICENSE' file this repo's root directory for more info)
*
*/
precision lowp int;
precision highp float;
precision mediump sampler2D;
layout(location = 0) in vec3 a_position3f;
layout(location = 1) in vec2 a_colorIndex2f;
out vec3 v_position3f;
uniform mat4 u_viewMatrix4f;
uniform mat4 u_projMatrix4f;
void main() {
v_position3f = a_position3f;
vec4 pos = u_viewMatrix4f * vec4(a_position3f, 0.0);
gl_Position = u_projMatrix4f * vec4(pos.xyz, 1.0);
}