Class DarkShaderInstance

java.lang.Object
net.minecraft.client.renderer.ShaderInstance
com.buuz135.darkmodeeverywhere.DarkShaderInstance
All Implemented Interfaces:
com.mojang.blaze3d.shaders.Shader, AutoCloseable

public class DarkShaderInstance extends net.minecraft.client.renderer.ShaderInstance
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final com.mojang.blaze3d.shaders.Uniform
     
    final com.mojang.blaze3d.shaders.Uniform
     

    Fields inherited from class net.minecraft.client.renderer.ShaderInstance

    CHUNK_OFFSET, COLOR_MODULATOR, FOG_COLOR, FOG_END, FOG_SHAPE, FOG_START, GAME_TIME, GLINT_ALPHA, LIGHT0_DIRECTION, LIGHT1_DIRECTION, LINE_WIDTH, MODEL_VIEW_MATRIX, PROJECTION_MATRIX, SCREEN_SIZE, SHADER_PATH, TEXTURE_MATRIX
  • Constructor Summary

    Constructors
    Constructor
    Description
    DarkShaderInstance(net.minecraft.server.packs.resources.ResourceProvider p_173336_, net.minecraft.resources.ResourceLocation shaderLocation, com.mojang.blaze3d.vertex.VertexFormat p_173338_)
     
  • Method Summary

    Methods inherited from class net.minecraft.client.renderer.ShaderInstance

    apply, attachToProgram, clear, close, getFragmentProgram, getId, getName, getUniform, getVertexFormat, getVertexProgram, markDirty, safeGetUniform, setDefaultUniforms, setSampler

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • DivideFactor

      public final com.mojang.blaze3d.shaders.Uniform DivideFactor
    • PerceptionScale

      public final com.mojang.blaze3d.shaders.Uniform PerceptionScale
  • Constructor Details

    • DarkShaderInstance

      public DarkShaderInstance(net.minecraft.server.packs.resources.ResourceProvider p_173336_, net.minecraft.resources.ResourceLocation shaderLocation, com.mojang.blaze3d.vertex.VertexFormat p_173338_) throws IOException
      Throws:
      IOException