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
8
votes
1 answer

ffmpeg screen blending mode makes transparent png pink

I have a sequence of PNG files with transparency - I'd like screen-blend them on top of a video ffmpeg -i video.mp4 -i "Images/%03d.png" -filter_complex "blend=all_mode='screen':all_opacity=0.7" output.mp4 the images are indeed merged on top of…
gilad s
  • 475
  • 8
  • 16
8
votes
3 answers

Advanced color blending with GDI+

Using GDI+ with Windows Forms, I want to be able to draw with a pen and blend color based on the destination pixel color. For example, if I draw a line and it passes over black pixels, I want it to be a lighter color (like white for example) so that…
Trevor Elliott
  • 11,292
  • 11
  • 63
  • 102
7
votes
3 answers

OpenglES blending particles but not background

I have the next process: - draw background - draw objects and blend with background (1)GL10.GL_SRC_ALPHA, GL10.GL_ONE_MINUS_SRC_ALPHA - draw particle effect with blending (2)GL10.GL_SRC_ALPHA, GL10.GL_ONE in order to highlight overlapping…
Yuriy
  • 817
  • 1
  • 7
  • 17
7
votes
4 answers

How to use mix-blend-mode, but not have it affect child elements?

Okay, so I'm building a WordPress site and the page in question can be seen here: http://test.pr-tech.com/power-line-markers/ The issue I am having is that I am using mix-blend-mode for one of my div containers to make use a 'lighten' blend on the…
DigitalSky
  • 131
  • 2
  • 2
  • 9
7
votes
0 answers

SceneKit – Different blend modes and fragment shading issues

I've read in other posts that SceneKit only has two blend modes though I'm still wondering how those exactly work and how to make use of them. I'm currently trying to draw some anti-aliased circles with a fragment shader. Therefore I'd like…
Max
  • 2,699
  • 2
  • 27
  • 50
6
votes
2 answers

How to set background colour on Open GL ES Android

I am currently playing about with lesson 08 here http://insanitydesign.com/wp/projects/nehe-android-ports/ I would like to change the background colour from black to white. In order to do this at the start of onDrawFrame() I have called…
user455141
  • 183
  • 2
  • 3
  • 7
6
votes
3 answers

Android Blend Modes

I am looking for a way to add more advanced blend modes to my program (ones that I could define myself). How would you suggest going about this with Android? Setting pixels individually is too slow to be a viable solution.
Kleptine
  • 5,089
  • 16
  • 58
  • 81
6
votes
1 answer

How to make background of system-overlay view MULTIPLY (blending-mode)?

A little context for my problem first: I'm trying to create a system-overlay type view (i.e. draw over other apps) that is (for now) just a full-screen solid colour. I'm turning it on/off by starting/stopping a service. Here's what my code looks…
andeart
  • 935
  • 6
  • 19
6
votes
1 answer

How to create custom blend mode in SpriteKit

I'd like to use a custom blend mode (linear burn) to blend the SKSpriteNodes of my SKScene however the only options available are Add, Subtract, Multiply, MultiplyX2, Screen, and Replace. Is there any way to set a custom blend mode? Can I blend all…
fpg1503
  • 7,492
  • 6
  • 29
  • 49
6
votes
2 answers

Blend mode:multiply in Internet Explorer

I need to have an Image blended together with an red square in mode multiply. As I know, IE and Safari doesn't support the css-property "blend-mode", so I tried it with blending them together in a canvas and everything worked fine - except in IE. Is…
Dominik Seemayr
  • 830
  • 2
  • 12
  • 30
6
votes
1 answer

Any undersandable description of glTexEnvi (OpenGL ES 1.x)?

I've seen as many different parameters as many source codes I saw. Is there a description can be found somewhere that refers all about those parameters in details?
Geri Borbás
  • 15,810
  • 18
  • 109
  • 172
6
votes
4 answers

Please explain this color blending mode formula so I can replicate it in PHP/ImageMagick

I've been trying to use ImageMagick to replicate Photoshops Colour Blend Mode. I found the following formulas in an online guide but I don't know what they mean. Do I just need to swap certain channels?
Castles
  • 897
  • 1
  • 10
  • 29
6
votes
1 answer

libGDX: treat first color in palette as transparent color

old game engines designate the first color of an image's palette as a transparent color. is there a way to do the same with libGDX? i tried loading the picture and replacing the palete's first color with 0x00000000. however since the pixels are…
Shinni
  • 241
  • 1
  • 5
5
votes
3 answers

Window background visible through textures

What can I try to solve this problem? In this example (see a screenshot below) I am using OpenGL 1.1 with deprecated functions like: glEnableClientState, glMatrixMode, glTexCoordPointer, and so on. Thanks in advance. You can see the whole example…
8Observer8
  • 868
  • 10
  • 17
5
votes
1 answer

OpenGL depth testing and blending not working simultaniously

I'm currently writing a gravity-simulation and I have a small problem displaying the particles with OpenGL. To get "round" particles, I create a small float-array like this: for (int n = 0; n < 16; n++) for (int m = 0; m < 16; m++) …
Paul Aner
  • 361
  • 1
  • 8
1 2
3
37 38