realisticallyOptimized

gitlab

Stylized toon-lighting Minecraft shaderpack with real-time shadows, optimized for performance.

0 stars0 forksupdated 2d agodefault branch: main
clonehttps://gitlab.com/bitzzdev/realisticallyOptimized.git
cel-shadingglsliris-shadersminecraft-performanceminecraft-shadersoptifineshaderpack
@ main
#version 120
/* RENDERTARGETS: 0,1 */
varying vec2 vTex;
uniform sampler2D texture;
uniform int worldTime;
uniform float rainStrength;
#include "lib/common.glsl"
void main() {
vec4 albedo = texture2D(texture, vTex);
float t = dayFactor(float(worldTime));
float rain = clamp(rainStrength, 0.0, 1.0);
vec3 c = albedo.rgb;
c *= mix(0.50, 1.30, t);
c *= mix(1.0, 0.40, rain);
c = applyVibrance(c, 1.0);
gl_FragData[0] = vec4(c, albedo.a);
gl_FragData[1] = vec4(1.0, 0.0, 0.0, 1.0);
}