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
3 actions from Libraries.Language.Object