bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] Texture mapping doesn't work under GL graphics context #55

Closed bnoazx005 closed 3 years ago

bnoazx005 commented 3 years ago

Bug report

DefaultShader.shader doesn't work correctly under GL mode. It seems that invalid vertex declaration is bound to pipeline by some reason.

Environment

Win 10 (x64) / Visual Studio 2017 / TDEngine2-v0.4 / NVidia GTX 860M in GL3.x mode

Steps to reproduce the issue

  1. Run SandboxGame application which is powered by TDEngine2 v0.4 with OpenGL graphics system.
  2. Create some mesh with a material for which DefaultShader is assigned

What's the expected result?

The result should be the same under D3D11 and GL contexts

What's the actual result?

The picture under GL mode looks like there is no texture mapping there.

bnoazx005 commented 3 years ago

Fixed in a9f54a2