more tooling

This commit is contained in:
Asuro
2025-02-28 02:21:41 +01:00
parent ceb4f69efc
commit 136a0e09a9
10 changed files with 79 additions and 45 deletions

View File

@@ -28,6 +28,7 @@ namespace Game
{
bgfx::UniformHandle SamplerHandle;
bgfx::TextureHandle Handle;
bgfx::TextureInfo Info;
};
struct Model
@@ -44,6 +45,7 @@ namespace Game
{
UTime = 0,
UDotColor = 1,
UTexInfo = 2,
};
bgfx::ProgramHandle Shader;
@@ -68,9 +70,9 @@ namespace Game
struct DitherData
{
static constexpr uint32_t BrightnessBucketCount = 256;
Vec2 Points[1024];
Vec2 Points[4096];
uint32_t PointCount = 0;
Vec4 DitherTex[64 * 64 * 16];
Vec4 DitherTex[256 * 256 * 64];
uint32_t DitherTexWH = 0;
uint32_t DitherTexDepth = 0;
int32_t BrightnessBuckets[BrightnessBucketCount];