All Downloads are FREE. Search and download functionalities are using the official Maven repository.

indigo.shared.shader.library.NormalBlend.scala Maven / Gradle / Ivy

The newest version!
package indigo.shared.shader.library

import indigo.shared.shader.library.IndigoUV.*
import ultraviolet.syntax.*

object NormalBlend:

  trait Env extends BlendFragmentEnvReference
  object Env:
    val reference: Env = new Env {}

  inline def fragment =
    Shader[Env] { env =>
      def fragment(color: vec4): vec4 =
        env.SRC
    }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy