mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-05-04 08:23:50 +00:00
Add diagnostics for invisible creatures and update shadow signatures
- Log warning when WotLK M2 skin file is missing (causes invisible creatures) - Move skin loading inside version >= 264 check to skip unnecessary readFile - Update renderShadow header signatures to match implementation (shadow culling)
This commit is contained in:
parent
7dc9bf3766
commit
30e9998a86
6 changed files with 27 additions and 15 deletions
|
|
@ -251,7 +251,8 @@ public:
|
|||
/**
|
||||
* Render depth-only pass for shadow casting
|
||||
*/
|
||||
void renderShadow(VkCommandBuffer cmd, const glm::mat4& lightSpaceMatrix, float globalTime = 0.0f);
|
||||
void renderShadow(VkCommandBuffer cmd, const glm::mat4& lightSpaceMatrix, float globalTime = 0.0f,
|
||||
const glm::vec3& shadowCenter = glm::vec3(0), float shadowRadius = 1e9f);
|
||||
|
||||
/**
|
||||
* Render M2 particle emitters (point sprites)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue