OpenGL with Python Tutorial 3: Textures (deprecated)

preview_player
Показать описание


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

I fixed the destroy function by writing:

*glDeleteVertexArrays(1, (self.vao, ))*
*glDeleteBuffers(1, (self.vbo, ))*


The error asked the second parameter in a array, and both of those functions accept two parameters,
1. The amount of vertex arrays that you will delete
2. An array containing the vertex arrays

Masqed
Автор

So how would we implement transparency or an alpha value into textures? I read online that we have to use another texture but I'm not sure how to implement it in Python

sunimod