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
}