Jump to content

Recommended Posts

Posted

I've been usingLeadwerks::Texture::RGB and Leadwerks::Texture::RGBATo pass to

Leadwerks::Texture::Create(_width,_height,LEformat)

But I also need to create textures with one color channel and one Llumiance channel + alpha (GL_LUMINANCE8_ALPHA8) - I've been using Leadwerks::Texture::Intensity16 for this which gets me the correct buffer size but when I bind the texture it just shows as black. So what should I use instead?

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Posted

MyGUI uses it for colored text - suppose I'll have to find a way around that.

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Posted

facepalm moment - turns out I had stubbed the "isFormatSupported" function in the rendermanager with return true;

 

so err yeah just ignore this tread, I'll chalk it up to sleep deprivation

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Posted

Is there a reason you actually need the luminance channel? I just use alpha textures for font rendering.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

Is there a reason you actually need the luminance channel? I just use alpha textures for font rendering.

I'm thinking it was to save memory - works just fine now I've told it that format isn't supported

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...