Latest Dev

its very scary to look at
This commit is contained in:
Xonk
2023-01-12 15:28:19 -05:00
parent 0b86387cac
commit 216db6b84d
69 changed files with 902 additions and 2568 deletions

View File

@ -1,15 +1,14 @@
#version 120
#extension GL_EXT_gpu_shader4 : enable
/*
!! DO NOT REMOVE !!
This code is from Chocapic13' shaders
Read the terms of modification and sharing before changing something below please !
!! DO NOT REMOVE !!
*/
//#define SHADOW_FRUSTRUM_CULLING // BROKEN IN 1.17+. If enabled, removes most of the blocks during shadow rendering that would not cast shadows on the player field of view. Improves performance but can be sometimes incorrect and causes flickering shadows on distant occluders
#define WAVY_PLANTS
#define WAVY_STRENGTH 1.0 //[0.1 0.25 0.5 0.75 1.0 1.25 1.5 1.75 2.0]
#define WAVY_SPEED 1.0 //[0.001 0.01 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 1.0 1.25 1.5 2.0 3.0 4.0]
#include "lib/settings.glsl"
#include "lib/Shadow_Params.glsl"
#define SHADOW_MAP_BIAS 0.5