Safe Haskell | None |
---|---|
Language | Haskell2010 |
FWGL.Shader.Default3D
Documentation
type Uniforms = `[View3, Transform3, Texture2]` Source
type Attributes = `[Position3, UV, Normal3]` Source
Instances
Instances
Instances
Instances
Instances
ShaderType UV | |
Typeable * UV | |
GLES => AttributeCPU CVec2 UV |
vertexShader :: VertexShader `[Transform3, View3]` `[Position3, UV, Normal3]` `[UV, Normal3]` Source
fragmentShader :: FragmentShader `[Texture2]` `[UV, Normal3]` Source