weird issue with vertex shader
Posted: January 14th, 2020, 6:13 am
Hi everyone,
I'm following Direct3D hardware series. I was trying to draw plane with hills and box in the same scene. I does work. However if I try to draw box only doesn't draw. However, I can draw plane with hills alone and with box. Strange thing is I don't change anything just comment out draw call function if I don't want to draw. When I need to draw just uncomment the code. I checked vertex shader with graphics debugger when I draw it alone its vertices 0,0,0 but without changing anything if I draw both of them it works fine.Any help appreciated. Thanks.
I'm following Direct3D hardware series. I was trying to draw plane with hills and box in the same scene. I does work. However if I try to draw box only doesn't draw. However, I can draw plane with hills alone and with box. Strange thing is I don't change anything just comment out draw call function if I don't want to draw. When I need to draw just uncomment the code. I checked vertex shader with graphics debugger when I draw it alone its vertices 0,0,0 but without changing anything if I draw both of them it works fine.Any help appreciated. Thanks.