TransparentShaderMapping3DVulkan

Package: Libraries.Game.Graphics.Shaders.Vulkan.Mapping · Inherits from: Libraries.Game.Graphics.Shaders.Vulkan.Mapping.VulkanShaderMapping, Libraries.Game.Graphics.Shaders.ShaderMapping, Libraries.Language.Object

TransparentShaderMapping3DVulkan describes the pipeline for see-through models: a forward program, drawn after the deferred lighting, over the lit image, with the default 3D vertex data, the G-buffer, the lights, the sky and the sky light (sets 0 to 5, see VulkanPipelineInfoCreator:AddForwardInfo3D). It blends by alpha, with no depth test and no culling; the fragment shader hides back faces of one-sided materials. The program's own 18 push constant numbers are unused (zeros).

Example Code

use Libraries.Game.Graphics.Shaders.Vulkan.Mapping.TransparentShaderMapping3DVulkan

TransparentShaderMapping3DVulkan mapping

Actions

CreatePipelineInfo(Libraries.Game.Graphics.Shaders.Vulkan.VulkanShaderProgram program, Libraries.Game.Graphics.Vulkan.VulkanDevice device)

This action makes the pipeline description for see-through models.

Parameters

Returns

Libraries.Game.Graphics.Vulkan.VulkanPipelineInfo: The pipeline description.

Inherited Actions

10 actions from Libraries.Game.Graphics.Shaders.ShaderMapping
10 actions from Libraries.Game.Graphics.Shaders.Vulkan.Mapping.VulkanShaderMapping
3 actions from Libraries.Language.Object