Class Shaders.PlanetShader

All Implemented Interfaces:
Disposable
Enclosing class:
Shaders

public static class Shaders.PlanetShader extends Shaders.LoadShader
  • Field Details

    • lightDir

      public Vec3 lightDir
    • ambientColor

      public Color ambientColor
    • camDir

      public Vec3 camDir
    • camPos

      public Vec3 camPos
    • planet

      public Planet planet
  • Constructor Details

    • PlanetShader

      public PlanetShader()
  • Method Details

    • apply

      public void apply()
      Description copied from class: Shader
      Applies all relevant uniforms, if applicable. Should be overridden.
      Overrides:
      apply in class Shader