Glyph output -> single Glyphs;

read bmp file (via stb, m_header is coming later)
 -> stb_image.h;
added monochrom imagetype (load_tga_file); 

git-svn-id: svn://ammerhai.com/home/mike/pokemon_repo@19 24008968-59e6-ed4c-a10b-0b2c954b24ab
This commit is contained in:
mikeb
2021-07-18 13:09:44 +00:00
parent 70a9074415
commit b603d997cf
17 changed files with 8168 additions and 30 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 768 KiB

Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -8,7 +8,7 @@ struct PixelShaderOutput {
float4 color : SV_TARGET;
};
Texture2DArray<float4> tex1 : register(t0);
Texture2D<float> tex1 : register(t0);
SamplerState texture_sampler : register(s0);
@@ -16,7 +16,7 @@ PixelShaderOutput main(PixelShaderInput input) {
PixelShaderOutput output;
#if 1
output.color = tex1.Sample(texture_sampler, float3(input.uvst.xy, input.tile_type));
output.color = float4(1, 1, 1, tex1.Sample(texture_sampler, float2(input.uvst.xy)));
#else
output.color = float4(1, 0, 1, 1);
#endif