Skip to content

Commit

Permalink
Update assets
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix committed Jul 17, 2024
1 parent 6e13fb7 commit 3c37f9a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion assets/shaders/BlockPBR.nzsl
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ fn ComputeLighting(color: vec3[f32], input: VertOut) -> vec3[f32]
let tbnMatrix = mat3[f32](T, B, N);

normal = (MaterialNormalMap.Sample(input.uv).xyz * 2.0 - (1.0).rrr);
normal.y *= -1.0;
normal = normalize(tbnMatrix * normal);
}
else
Expand Down
2 changes: 1 addition & 1 deletion src/ClientLib/ClientBlockLibrary.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace tsom

std::size_t sliceCount = m_textureIndices.size() + 1;

constexpr std::size_t texSize = 128; // TODO: use texture size?
constexpr std::size_t texSize = 256; // TODO: use texture size?

Nz::Image baseColorArray(Nz::ImageType::E2D_Array, Nz::PixelFormat::RGBA8, texSize, texSize, sliceCount);
baseColorArray.Fill(Nz::Color::White());
Expand Down

0 comments on commit 3c37f9a

Please sign in to comment.