more tooling
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user