Hello
Guest
Register
Login
1 Hour
1 Day
1 Week
1 Month
Forever
LWJGL 3.3.2 released
Menu
Home
Help
Search
Login
Register
go
LWJGL Forum
Programming
OpenGL
How to use Trancparency with openGL
« previous
next »
Print
Pages: [
1
]
How to use Trancparency with openGL
1 Replies
2729 Views
technik3k
42
How to use Trancparency with openGL
«
on:
August 30, 2015, 01:34:37 »
I have an image I made with gimp that has a trancparent background. How do I render the tranceparent part with openGL.
Logged
technik3k
42
Re: How to use Trancparency with openGL
«
Reply #1 on:
August 30, 2015, 01:59:50 »
I figured it out. I used
Code:
[Select]
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
Logged
Print
Pages: [
1
]
« previous
next »