Skip to content

Commit

Permalink
fix: todo
Browse files Browse the repository at this point in the history
  • Loading branch information
mizy committed Dec 3, 2024
1 parent 393719a commit 68d5e31
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ view `src/components/materials/shaderlibs` for more detail

# todo
- [] PBR material
- [] controls enhence
- [] orthographic camera enhence
- [] group matrix mutiply
- [] a simple game demo

# weakness
Expand Down
2 changes: 1 addition & 1 deletion src/utils/gltf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ pub fn make_material_map<'a>(
let mut image = image::DynamicImage::new_rgba8(512, 512);
for x in 0..512 {
for y in 0..512 {
image.put_pixel(x, y, image::Rgba([255, 0, 0, 255]));
image.put_pixel(x, y, image::Rgba([200, 200, 200, 255]));
}
}
diffuse_texture = Some(Texture::from_image(
Expand Down

0 comments on commit 68d5e31

Please sign in to comment.