Forum

Multiple png filetexture transparency

Cheers everyone
I need to arrange all those plans for filling the output. But they are not showing as transparent. A little help please?
PS: see atachement

Desktop.rar (101.5 kB)

Hi,
If you add a Blend (DX11.RenderState) with the mode input pin setted to “blend”, and connect it to the RenderState input of your FullScreenQuad, is it doing what you’re looking for ?

It still has that square if I apply texturefx as ‘colorwaveshaper’.

Hi omv,

actually the solution from keftaparty is working even with texturefx.
Maybe it is your graphiccard making problems?

Which one do you have?

Best,
Anton

If I disable the colorwaveshaper from his pin it looks transparent, but if I turn it on, it has those squares.

And the both graphic cards that i’m using from 2 different laptops are:

  1. GeForce 820m
  2. ati 5740

Hi omv,
Would you post your patch for easier understanding?

Here it goes.
Load marlin png image from vvvv folder.

problema.v4p (9.9 kB)

Hi, I don’t have this file in my assets folder…

There is an Alpha input pin on the ColorWaveShaper, if you turn it to 0, do you get what you want ?

@keftaparty
Use the png that is in the first post then.
Still have the same squares with alpha 0.

hummm, strange, I’m getting this:

I reloaded the texture and now it’s ok, I have transparency.
thank you a lot
alpha - 0
blend (render state) with mode enabled as blend worked.

PNGs create transparency in one of two ways. One of these methods employs the same approach used by GIFs, with a single color defined as transparent, and the other is to set an alpha channel . One of the advantages of PNG single-color transparency is that it doesn’t remove a color from the available palette. However, the alpha channel is a much smoother method, as it is far better at blending colors, and allows you to select different levels of transparency in specific regions. The transparent areas of the PNG will blend and adjust naturally to whatever is behind the image when the background of the page isn’t a solid white or black color.