LWJGL
May 20, 2012, 23:09:59
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.8.3 released!
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
OpenGL
>
16Bit Textures?
Pages: [
1
]
« previous
next »
Print
Author
Topic: 16Bit Textures? (Read 2349 times)
Evil-Devil
Prolific Timewaster
Posts: 268
16Bit Textures?
«
on:
February 02, 2006, 09:24:46 »
Is there a way to use 16Bit textures?
Using 24 and 32bit is no problem, but when i though about using 16bit textures i didn't found an apropriate glEnum. GL_RGB (24) and GL_RGBA(32) can't be used and the Red Book says to use always GL_RGBA.
Or is there another way to do this, like via using palettes?
Benny
Logged
Fool Running
Nerdus Imperius
Posts: 647
hmmmmm...
«
Reply #1 on:
February 02, 2006, 10:26:32 »
I'm not sure of this (I did a quick search on Google :lol: ), but I think passing in GL_RGB5_A1 or GL_RGBA4 should give you 16 bit color. From the looks of it there is no GL_R5G6B5, so if you don't have alpha, I don't know
Logged
Programmers will, one day, rule the world... and the world won't notice until its too late.
Just testing the marquee option
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...