mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 14:24:56 +00:00
Implement CWorldShadow and texture clamp mode
This commit is contained in:
@@ -33,7 +33,7 @@ boo::GraphicsDataToken InitializeBadging(specter::ViewResources& viewRes)
|
||||
specter::IconAtlas<1, 1> atlas;
|
||||
|
||||
atlas.initializeAtlas(ctx.newStaticTexture(width, height, mips,
|
||||
boo::TextureFormat::RGBA8,
|
||||
boo::TextureFormat::RGBA8, boo::TextureClampMode::Repeat,
|
||||
texels.get(), destSz));
|
||||
g_BadgeIcon = atlas.getIcon(0, 0);
|
||||
return true;
|
||||
|
||||
@@ -32,6 +32,7 @@ boo::GraphicsDataToken InitializeIcons(specter::ViewResources& viewRes)
|
||||
{
|
||||
g_IconAtlas.initializeAtlas(ctx.newStaticTexture(width, height, mips,
|
||||
boo::TextureFormat::RGBA8,
|
||||
boo::TextureClampMode::Repeat,
|
||||
texels.get(), destSz));
|
||||
return true;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user