Skip to content

Commit

Permalink
Fix 3d tileset export
Browse files Browse the repository at this point in the history
  • Loading branch information
csinkers committed Jun 3, 2023
1 parent 97110ce commit f22d7b1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Game.Veldrid/Assets/IsometricLabyrinthLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,14 @@ void SetupEngine(int tileWidth, int tileHeight, int baseHeight, int tilesPerRow)

_engine = new Engine(GraphicsBackend.Vulkan, false, false);
_isoRsm = new IsometricRenderSystem(tileWidth, tileHeight, baseHeight, tilesPerRow);
_isoRsm.OffScreen.IsActive = true;
_engine.RenderSystem = _isoRsm.OffScreen;

AttachChild(_shaderLoader);
AttachChild(_engine);
AttachChild(_isoRsm);

_isoRsm.OffScreen.IsActive = true;
_engine.RenderSystem = _isoRsm.OffScreen;

Raise(new SetSceneEvent(SceneId.IsometricBake));
Raise(new SetClearColourEvent(0, 0, 0, 0));
// Raise(new EngineFlagEvent(FlagOperation.Set, EngineFlags.ShowBoundingBoxes));
Expand Down

0 comments on commit f22d7b1

Please sign in to comment.