How can i use unsigned bytes ?
Posted: Tue Nov 02, 2004 8:33 am
It is possible ?
I need them to store OpenGL color values..
so i have vertex
i cant use floats in this vertex type (GL_T2F_C4UB_V3F) and i dont want to use different type.
and i have troubles with colors
any ideas ?
I need them to store OpenGL color values..
so i have vertex
Code: Select all
Structure mae_2dvertex
;GL_T2F_C4UB_V3F
uv.f[2]
color.b[4]
pos.f[3]
EndStructure
and i have troubles with colors

any ideas ?