TwoSidedShaderProgram3D

Package: Libraries.Game.Graphics.Shaders.Programs · Inherits from: Libraries.Language.Object, Libraries.Game.Graphics.Shaders.Programs.ShaderProgram

TwoSidedShaderProgram3D draws 3D models the way the default 3D program does, but without hiding the backs of faces. The Vulkan painter uses it on its own for models with a two-sided material, such as leaves and grass cards; programs don't need to set it. It is Vulkan only.

Example Code

use Libraries.Game.Graphics.Shaders.Programs.TwoSidedShaderProgram3D

TwoSidedShaderProgram3D program
program:Compile()

Inherited Actions

22 actions from Libraries.Game.Graphics.Shaders.Programs.ShaderProgram
3 actions from Libraries.Language.Object