SasMaster
(SasMaster)
1
Hi.
I need to generate data textures in runtime with non standard pixel formats. In OpenGL those are:
Texture 1 : GL_RGBA16F
,GL_HALF_FLOAT
Texture 2: GL_RGBA16UI
, GL_UNSIGNED_SHORT
In UE4 EPixelFormat
enum I found PF_R16G16B16A16_SNORM
and PF_R16G16B16A16_UINT
Are those equivalent to the above GL types?
SasMaster
(SasMaster)
2
I will answer it myself as I have found the corresponding UE4 formats.
GL_RGBA16F - > UE: EPixelFormat::PF_FloatRGBA
GL_RGBA16UI → UE4: EPixelFormat::PF_R16G16B16A16_UINT
Hope this info will be helpful to others.
See more details in this blogpost.