OpenGL Pixel Art Texture Atlas Problem solved!??

preview_player
Показать описание
In this series of Streams I'm building Vampire Survivors in C++ using OpenGL. I will also create my own Pixel Art.

Adding a Fix and explaining the Problem we had when using a Texture Atlas in OpenGL. Not really happy about the fix, but will continue to keep you updated as I learn more about the situation.

#indiedev #cpp #gamedev #programming

Music Links:
Рекомендации по теме
Комментарии
Автор

Thank you for instracting knowledge into my brain

Tkap
Автор

I'm working on the same thing and this is convenient timing, also really like the lofi fairy fountain music

pastasawce
Автор

I thought in OpenGL the images are 0, 0 on the bottom left? You kept showing DirectX's coordinate system. Am I getting something wrong here? Glad you figured it out, but I'm still confused, haha. Were you reading the sprite from the wrong coordinates?

(0, 1) ( 0.5, 1) (1, 1)
(0.5, 0.5) Middle
(0, 0) (1, 0)

ItsYouAreNotYour