Menu

Transparent (Alphablended) TGLMemoryViewer

Help
Bass
2012-02-19
2013-03-15
  • Bass

    Bass - 2012-02-19

    Hi guys,

    I'm doing a render to texture using a TGLMemoryViewer and  something like:

    MemViewer.Render;
    MemViewer.CopyToTexture(GLMaterialLibrary1.Materials.Items.Material.Texture );

    However, whatever I try or do, the Material's texture will never be rendered using the alphachannel.
    Is it possible (by using another method or whatever) to use render to texture and preserve the texture's alphachannel?

    Thanks,
    Bas

     
  • YarUnderoaker

    YarUnderoaker - 2012-03-01

    Try to switch on roDestinationAlpha in Buffer.ContextOption

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.