Hello everyone,
I'm working on DirectX11 game engine I'm in weird situation. Basically I'm trying to draw hills and box together on same screen and I achieved to draw both at the same time. I can also draw hills alone. However, When I tried to draw Box alone it doesn't appear on screen when I debug with graphic debugger shows the vertices (0,0,0). I basically calling draw functions to bind shaders and etc to pipeline. Everything works well if I call draw for TerrainClass I can draw box with it I can also draw TerrainClass alone however If I comment out draw for TerrainClass (object b1) I cannot draw box. I spent quite a bit time on this but I couldn't figure out. Thanks for any help.
![](https://uploads.gamedev.net/forums/monthly_2020_01/bac150b4e3af448fb1069e8d5fa87e2c.ss1.png)
![](https://uploads.gamedev.net/forums/monthly_2020_01/bd20abcf89cf41b5a669d7b714caa086.ss2.png)
![](https://uploads.gamedev.net/forums/monthly_2020_01/1b82cf42998242c58df835465803b2db.ss3.png)
![](https://uploads.gamedev.net/forums/monthly_2020_01/20a59a69b48e4168a895b9a4402c8a77.ss4.png)