mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-14 08:23:52 +00:00
Revert "fix(rendering): enable backface culling for one-sided M2 materials (#57)"
This reverts commit 7b746a3045.
This commit is contained in:
parent
70a0be9e79
commit
4dcea08b90
3 changed files with 10 additions and 48 deletions
|
|
@ -394,16 +394,11 @@ private:
|
|||
// Vulkan context
|
||||
VkContext* vkCtx_ = nullptr;
|
||||
|
||||
// Vulkan pipelines — two-sided (VK_CULL_MODE_NONE) variants
|
||||
// Vulkan pipelines (one per blend mode)
|
||||
VkPipeline opaquePipeline_ = VK_NULL_HANDLE; // blend mode 0
|
||||
VkPipeline alphaTestPipeline_ = VK_NULL_HANDLE; // blend mode 1
|
||||
VkPipeline alphaPipeline_ = VK_NULL_HANDLE; // blend mode 2
|
||||
VkPipeline additivePipeline_ = VK_NULL_HANDLE; // blend mode 3+
|
||||
// Backface-culled variants for one-sided materials (materialFlags & 0x04 == 0)
|
||||
VkPipeline opaqueCulledPipeline_ = VK_NULL_HANDLE;
|
||||
VkPipeline alphaTestCulledPipeline_ = VK_NULL_HANDLE;
|
||||
VkPipeline alphaCulledPipeline_ = VK_NULL_HANDLE;
|
||||
VkPipeline additiveCulledPipeline_ = VK_NULL_HANDLE;
|
||||
VkPipelineLayout pipelineLayout_ = VK_NULL_HANDLE;
|
||||
|
||||
// Shadow rendering (Phase 7)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue