forked from Ryan-rsm-McKenzie/CommonLibSSE
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
138 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#pragma once | ||
|
||
#include "RE/B/BSShadowLight.h" | ||
|
||
namespace RE | ||
{ | ||
class BSShadowFrustumLight : public BSShadowLight | ||
{ | ||
public: | ||
inline static constexpr auto RTTI = RTTI_BSShadowFrustumLight; | ||
inline static constexpr auto VTABLE = VTABLE_BSShadowFrustumLight; | ||
|
||
~BSShadowFrustumLight() override; // 00 | ||
|
||
// override (BSShadowLight) | ||
void Unk_04() override; // 04 | ||
bool GetIsFrustumLight() override; // 05 | ||
void Accumulate(std::uint32_t& a_globalShadowLightCount, std::uint32_t& a_shadowMaskChannel, NiPointer<NiAVObject> a_cullingScene) override; // 09 | ||
void Render() override; // 0A | ||
bool UpdateCamera(const NiCamera* a_viewCamera) override; // 10 | ||
|
||
// members | ||
float xFOV; // 560 | ||
float yFOV; // 564 | ||
float falloff; // 568 | ||
float nearDistance; // 56C | ||
float farDistance; // 570 | ||
}; | ||
static_assert(sizeof(BSShadowFrustumLight) == 0x578); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
#pragma once | ||
|
||
#include "RE/B/BSShadowLight.h" | ||
|
||
namespace RE | ||
{ | ||
class BSShadowParabolicLight : public BSShadowLight | ||
{ | ||
public: | ||
inline static constexpr auto RTTI = RTTI_BSShadowParabolicLight; | ||
inline static constexpr auto VTABLE = VTABLE_BSShadowParabolicLight; | ||
|
||
~BSShadowParabolicLight() override; // 00 | ||
|
||
// override (BSShadowLight) | ||
bool GetIsParabolicLight() override; // 07 | ||
bool GetIsOmniLight() override; // 08 | ||
void Accumulate(std::uint32_t& a_globalShadowLightCount, std::uint32_t& a_shadowMaskChannel, NiPointer<NiAVObject> a_cullingScene) override; // 09 | ||
void Render() override; // 0A | ||
void SetShadowMapCount(std::uint32_t a_count) override; // 0B | ||
void ClearShadowMapData() override; // 0C | ||
void Unk_0D() override; // 0D | ||
void Unk_0E() override; // 0E | ||
bool UpdateCamera(const NiCamera* a_viewCamera) override; // 10 | ||
}; | ||
static_assert(sizeof(BSShadowParabolicLight) == 0x560); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters