updated Physics mod support

for water waves, and snow and stuff.
This commit is contained in:
Xonk
2023-04-25 20:08:21 -04:00
parent b59cd5d5a9
commit b12c2491cf
9 changed files with 191 additions and 43 deletions

View File

@ -131,12 +131,14 @@ vec3 blackbody2(float Temp)
#define SEASONS_VSH
#include "/lib/climate_settings.glsl"
//////////////////////////////VOID MAIN//////////////////////////////
//////////////////////////////VOID MAIN//////////////////////////////
//////////////////////////////VOID MAIN//////////////////////////////
//////////////////////////////VOID MAIN//////////////////////////////
//////////////////////////////VOID MAIN//////////////////////////////
void main() {
gl_Position = ftransform();
@ -148,9 +150,9 @@ void main() {
// emission and shit...
EMISSIVE = 0;
#ifndef LabPBR_Emissives
if(mc_Entity.x == 10005) EMISSIVE = 1;
#endif
// #ifndef LabPBR_Emissives
// if(mc_Entity.x == 10005) EMISSIVE = 1;
// #endif
lmtexcoord.xy = (gl_MultiTexCoord0).xy;
@ -194,7 +196,7 @@ void main() {
// normalMat.a = 0.45;
// try and single out nametag text and then discard nametag background
@ -240,9 +242,14 @@ void main() {
normalMat.a = 0.9;
}
gl_Position = toClipSpace3(position);
#endif
NoSeasonCol.rgb = gl_Color.rgb;
#ifdef Seasons