JoeyDeVries / LearnOpenGL

Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
https://learnopengl.com
Other
10.86k stars 2.78k forks source link

Hi,why the texture got not right on cyborg obj model? #299

Open lucasjinreal opened 2 years ago

lucasjinreal commented 2 years ago
image

But, other engine show normal

image
Justlol1289304 commented 2 years ago

remove stbi_set_flip_vertically_on_load(true)

alt text

lucasjinreal commented 2 years ago

why that line added initially? for what purpose?

Justlol1289304 commented 2 years ago

https://learnopengl.com/Getting-started/Textures It is discussed in this lesson. Also see the comments for further details. It is a bit confusing.