Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 671949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:25:48+00:00 2026-05-14T00:25:48+00:00

I have an OpenGL texture with transparent and opaque pixels (eg, texture contains a

  • 0

I have an OpenGL texture with transparent and opaque pixels (eg, texture contains a circle, area outside the circle is transparent with alpha of 0.0).

I’m mapping this texture to a simple quad using GL_DECAL mode, and it works– the transparent parts of the texture are invisible, and I see my circle against the background of the quad.

Now I want to make the quad transparent. When I do this, though, the texture takes on the transparency values of the underlying quad, so when I set the quad to “fully transparent” with 0.0 alpha, the texture is invisible.

How do I make the QUAD transparent, but keep the opaque portions of the TEXTURE visible?

Many thanks…

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T00:25:48+00:00Added an answer on May 14, 2026 at 12:25 am

    I am not an expert, and I do not have time to try but instead of GL_DECAL, I think using GL_REPLACE will work for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is hopefully a simple question: I have an OpenGL texture and would like
I have a billboard quad with a texture mapped onto it. This is basically
I'm having an OpenGL texture that is binded to a simple quad. My problem
I have a simple OpenGL application where I have 2 objects displayed on screen:
I have a simple OpenGL drawing. When the user changes the window's size, I
I have written a simple OpenGL program in C++ that displays a line joining
If I have an OpenGL texture, and I need to perform HSL modifications on
I have an OpenGL texture rendered to a first FBO and I need to
I have one texture that has some portions which are transparent transparent I want
I have a square polygon with a texture (opengl es 1.1), and i need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.