#include "Core.h"
#include "Tags.h"
#include "Texture.h"
#include "Camera.h"
#include "math_types.h"
#include "LightUniforms.h"
#include <SDL3/SDL_gpu.h>
#include <span>
Go to the source code of this file.
|
|
void | candlewick::renderShadowPassFromAABB (CommandBuffer &cmdBuf, ShadowMapPass &passInfo, const DirectionalLight &dirLight, std::span< const OpaqueCastable > castables, const AABB &worldSceneBounds) |
| Render shadow pass, using provided scene bounds.
|
|
void | candlewick::renderShadowPassFromFrustum (CommandBuffer &cmdBuf, ShadowMapPass &passInfo, const DirectionalLight &dirLight, std::span< const OpaqueCastable > castables, const FrustumCornersType &worldSpaceCorners) |
| Render shadow pass, using a provided world-space frustum.
|
|
Mat4f | candlewick::shadowOrthographicMatrix (const Float2 &sizes, float zMin, float zMax) |
| Orthographic matrix which maps to the negative-Z half-volume of the NDC cube, for depth-testing/shadow mapping purposes.
|
|