baked occlusion bit mapping

This commit is contained in:
StephenAdamson
2024-12-20 00:28:28 +00:00
parent b47e6cce69
commit d78314eb51
4 changed files with 236 additions and 70 deletions
+6
View File
@@ -21,6 +21,7 @@ impl TilePrefab {
tile: Tile {
id: 1,
opaque: true,
visible_range: [0;8],
},
tile_state: TileState {
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
@@ -38,6 +39,7 @@ impl TilePrefab {
tile: Tile {
id: 2,
opaque: true,
visible_range: [0;8],
},
tile_state: TileState {
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
@@ -55,6 +57,7 @@ impl TilePrefab {
tile: Tile {
id: 3,
opaque: true,
visible_range: [0;8],
},
tile_state: TileState {
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
@@ -71,6 +74,7 @@ impl TilePrefab {
tile: Tile {
id: 0,
opaque: false,
visible_range: [0;8],
},
tile_state: TileState {
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
@@ -87,6 +91,7 @@ impl TilePrefab {
tile: Tile {
id: 4,
opaque: true,
visible_range: [0;8],
},
tile_state: TileState {
timer: Timer::from_seconds(1.0, TimerMode::Repeating),
@@ -104,6 +109,7 @@ impl TilePrefab {
tile: Tile {
id: 5,
opaque: true,
visible_range: [0;8],
},
tile_state: TileState {
timer: Timer::from_seconds(1.0, TimerMode::Repeating),