| 123456789101112131415161718192021222324252627282930313233 |
- // Copyright (C) 2009-2020, Panagiotis Christopoulos Charitos and contributors.
- // All rights reserved.
- // Code licensed under the BSD License.
- // http://www.anki3d.org/LICENSE
- #pragma once
- #include <shaders/glsl_cpp_common/Common.h>
- ANKI_BEGIN_NAMESPACE
- // Screen space reflections uniforms
- struct SsrUniforms
- {
- UVec2 m_depthBufferSize;
- UVec2 m_framebufferSize;
- U32 m_frameCount;
- U32 m_depthMipCount;
- U32 m_maxSteps;
- U32 m_lightBufferMipCount;
- UVec3 m_padding0;
- U32 m_firstStepPixels;
- Mat4 m_prevViewProjMatMulInvViewProjMat;
- Mat4 m_projMat;
- Mat4 m_invProjMat;
- #ifdef __cplusplus
- Mat3x4 m_normalMat;
- #else
- Mat3 m_normalMat;
- #endif
- };
- ANKI_END_NAMESPACE
|