Questions tagged [blending]

The process of mixing things together. Computer graphics uses blending concept to achieve transparency with image.

Blending: The process of mixing things together. Computer graphics uses blending concept to achieve transparency with image.

Resources:

567 questions
0
votes
1 answer

Can I add watermark to rending of OpenGL ES on iOS

I need add invisible watermark for user to render data of OpenGL ES 2.0. And if user will do screenshot by home+lock, then watermark will be slightly visible. How I can do it? Or it's not impossible? Maybe with blending?
Volodymyr B.
  • 3,369
  • 2
  • 30
  • 48
0
votes
1 answer

html5 canvas image compositing

Is there a way to overlay an image (jpeg) while keying out a certain color, like black? So that the all the pure black pixels in the image are transparent? Much like the "screen" blending mode in Photoshop? I've tried looking into the…
ndmweb
  • 3,370
  • 6
  • 33
  • 37
0
votes
1 answer

Blending Function on OpenGL ES 1.0 (Android)

I'm using OpenGL ES 1.0 for Android. I've a shape composed by 2 triangles (quad) like a play card. The texture used for this play card have smooth corners (transparent) When i draw the shape... enable blend function in this way: …
James
  • 5
  • 2
0
votes
1 answer

OpenGl Blending: Identical Transparent Objects

I'm on an OpenGL project. I have some objects (just say 2) made of the same transparent material (alpha = 0.2, for example). The two objects intersect. How can I make the intersection part look the same as other part (without border, no different…
Huynh
  • 111
  • 1
  • 10
0
votes
1 answer

glBlendFuncSeparate more transparent on iOS

I'm drawing to an offscreen framebuffer using glBlendFuncSeparate(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_ONE, GL_ONE); and drawing this Framebuffer using glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA); Everything works fine on Mac, Window and…
jhasse
  • 2,379
  • 1
  • 30
  • 40
-1
votes
1 answer

Legacy OpenGL - Blending textures on water reflections produced with stencil test

I'm forced to use legacy OpenGL and no shaders for an academic project (yes..). I'm rendering a 3D world with mountains and water. My goal (and problem) is to draw the skydome as reflection on the water. The skydome itself has 2 textures (night and…
Tides
  • 17
  • 4
-1
votes
1 answer

What is pd3dDevice in DirectX 11?

I am currently trying to make a UI transparent in DirectX 11 for a university project, and am looking at blend states and other resources within the Microsoft docs. I keep coming across pd3dDevice and am truly lost on what it is. I have looked in so…
-1
votes
2 answers

OpenGL : Blending & feedback effect

I'm struggling on a simple project, as an example/sandbox, I'm rendering a small oscillating rectangle on my output. I'm not using glclearcolor() but instead, on every frame I draw a black rectangle before anything else, blending with…
ebkgne
  • 39
  • 6
-1
votes
1 answer

Webgl Blending is blending to white

I have written a library for webgl, it has many tests and runs those tests perfectly fine including the one I have for blending. I've set the test to do a standard blending of Src_Alpha, One_minus_Src_Alpha and the test properly renders the…
Diniden
  • 1,005
  • 6
  • 14
-1
votes
2 answers

mathematical equations for blending two images

I have seen many tutorials that people blend two images that are placed on top of each other very nicely in Photoshop. For example here are two images that are placed on top of each other: Then in Photoshop after some work, the edges (around the…
TJ1
  • 7,578
  • 19
  • 76
  • 119
-1
votes
1 answer

Delphi: Alphablending two Timages

I have on a Form two TImages. One is fixed (BackgroundImage - Car) and the other one is movable and is always in front (FrontImage - Tree). When both Images overlap the FrontImage should be transparent. I tried the exact code from the answer by…
-1
votes
1 answer

How to find proper blending mode?

I need a blend mode that gives white text color over a dark background and defined (dark, but not black) color over a light background. If it's not possible, than "white over dark and black over light" would work too. Here's what I need to…
pilat
  • 1,094
  • 1
  • 10
  • 17
-1
votes
1 answer

Make kCGBlendModeMultiply on paper

I have this picture: I want to add UIImageViews as subviews and I want images to be "crooked" with background. I think i must use kCGBlendModeMultiply. Any ideas how to solve this issue?
Munadel
  • 107
  • 2
  • 12
-1
votes
2 answers

Alpha Blending in SDL resets after resizing window

I wanted to implement alpha blending within my Texture class. It works almost completely. I use the following functions for manipulating the alpha value: SDL_SetTextureBlendMode(texture, SDL_BLENDMODE_BLEND); SDL_SetTextureAlphaMod(texture,…
huzzm
  • 489
  • 9
  • 24
-1
votes
1 answer

Opengl: issue with masking

I'm working on creating a hole in a wall using masking in opengl, my code is quit simple like this, //Draw the mask glEnable(GL_BLEND); glBlendFunc(GL_DST_COLOR,GL_ZERO); glBindTexture(GL_TEXTURE_2D,…
Lisa
  • 3,121
  • 15
  • 53
  • 85
1 2 3
37
38