项目作者: bradleyq

项目描述 :
MC vanilla fabulous shaders
高级语言: GLSL
项目地址: git://github.com/bradleyq/mc_vanilla_shaders.git
创建时间: 2020-07-06T06:50:23Z
项目社区:https://github.com/bradleyq/mc_vanilla_shaders

开源协议:MIT License

下载


Shaders for vanilla 1.20 (1.20.4)

Overview

Shader that adds as much as possible from OptiFine shaders to the vanilla transparency shader available in “Fabulous” graphics setting. Due to limited material, light, time, and shadow information, some advanced features are not possible. A good number, however, are. I have ported them here. Most samples in credits are heavily modified to fit with the vanilla pipeline. Supports all FOV and render distances.

Usage

See License.md for licensing. This pack requires Fabulous graphics on. For best experience, use FOV 70 with render distance 16!

Configuration

Some basic settings can be toggled by editing assets\minecraft\shaders\post\transparency.json in uniforms for preprocess0 pass and postprocess2 pass. The following can be changed:

  1. FOVGuess [30.0, 110.0] 70.0 Default FOV as a fallback
  2. FogDistance [0.1, 10.0] 3.0 Fog distance multiplier
  3. BloomAmount [0.0, 1.0] 0.25 Bloom amount to apply
  4. AutoExposure 0.0 or 1.0 1.0 Auto exposure enable
  5. ExposurePoint [1.0, 4.0] 2.0 Target value to expose to
  6. Vibrance [0.0, 2.0] 1.0 Color vibrance / saturation

Features

  • Water Waves
  • SSAO
  • SSR
  • Revamped Skys: Approximate Atmosphereic Scattering (Overworld), Aurora (End)
  • Directional Light
  • Screen Space Shadows
  • Java Alpha-PBR support (Emissive, Subsurface, Waving)
  • Multiplicative Transparency
  • HDR Lighting
  • Auto Exposure
  • Bloom
  • Volumetric Clouds
  • Compatible with Optifine Fabulous & Dynamic Lights
  • Tonemapping

Comparisons

















vanilla



shader v1



shader v2



shader v3


Known issues

  • shadow jank
  • Alpha-PBR specular, metalness
  • some translucents visible over fog (slime entities)
  • particle and translucent checker when overlapped with solid translucent
  • glow item frame items are lit as if outdoors (unfixable atm)
  • hand item shading is flat
  • lighting changing in caves!!???
  • sun reflection in glass artifacts
  • black outline under some translucents over sky
  • picking up player heads animation not lit correctly
  • picking up tools animation not lit correctly
  • all picked up items are green when picking up xp at the same time
  • visible YUV artifacts in nether in some cases

Credits