TransparentShaderProgram3D
Package: Libraries.Game.Graphics.Shaders.Programs · Inherits from: Libraries.Language.Object, Libraries.Game.Graphics.Shaders.Programs.ShaderProgram
TransparentShaderProgram3D draws see-through models: those with a color whose alpha is below 1, or a material whose alpha mode is "BLEND" or whose opacity is below 1. It is a forward program: drawn after the deferred lighting and water, over the lit image, back to front, lit by the same lights and the light from the sky, with no shadows received yet. The Vulkan painter uses it on its own; programs don't need to set it. It is Vulkan only.
Example Code
use Libraries.Game.Graphics.Shaders.Programs.TransparentShaderProgram3D
TransparentShaderProgram3D program
program:Compile()
Inherited Actions
22 actions from Libraries.Game.Graphics.Shaders.Programs.ShaderProgram
- Add(Libraries.Game.Graphics.Shaders.Shader shader)
- Begin()
- Compile()
- Dispose()
- Draw(Libraries.Game.Graphics.Mesh mesh, Libraries.Game.Graphics.Camera camera, integer startIndex, integer totalIndices)
- Draw(Libraries.Game.Graphics.Drawable drawable, integer startIndex, integer totalIndices)
- Draw(Libraries.Game.Graphics.Mesh mesh, Libraries.Game.Graphics.Camera camera, integer startIndex, integer totalIndices, Libraries.Containers.Array<integer> vertexLocations)
- Draw(Libraries.Game.Graphics.Drawable drawable)
- End()
- GetID()
- GetName()
- GetShaderIterator()
- GetShaderMapping()
- GetShaderProgramStrategy()
- IsCompiled()
- IsOpenGLProgram()
- IsVulkanProgram()
- Reload()
- Remove(Libraries.Game.Graphics.Shaders.Shader shader)
- Render(Libraries.Game.Graphics.Renderable renderable)
- SetName(text name)
- SetShaderMapping(Libraries.Game.Graphics.Shaders.ShaderMapping shaderMapping)