 |
Re: Projection Alpha Weirdness
Started by killi at 08-12-2008 11:03. Topic has 3 replies.
|
|
08-12-2008, 11:03
|
killi
Joined on 07-14-2008
Posts 13
|
|
|
Hi,
I have a Problem with soft Edges (e.g. a Shadow on Font) while Projecting it via RenderTarget.
When i put an Object, here a Rect, behind my shadowed Font it comes out wrong in the Projection. It seems to me that it somehow scrambles to which object it should blend. It's not blending to the color of the Object in the projection but blending to the color of the object behind the projected Object.
Ah, this is hard to explain. So I attached a simple Scene that produces the same error.
You see that the left text is not blending to the blue but to the red object.
greetz
killi
|
|
|
|
|
Report
|
|
|
|
08-12-2008, 12:07
|
Karol

Joined on 05-15-2005
Posts 281
|
|
|
Hi killi,
this is an very interesting problem! Solution is attached. The problem is that the default Alpha Blending function does not fit for your rendering situation. Alpha Blending is sometimes a little bit tricky and depends on the scene structure.
Best regards karol
|
|
|
|
|
Report
|
|
|
|
08-12-2008, 13:31
|
killi
Joined on 07-14-2008
Posts 13
|
Re: Projection Alpha Weirdness
|
|
|
|
|
Thanks very much, karol.
I see what you've done and it works fine with me.
I begin to have an idea what this is all about, although i don't really get yet what all this zero and one stuff exactly means.
I'm still playing around with the PLE so all this is not yet critical for me, but I would apreciate it very much if there would be more explanation about this in the Help-Pages or if you could hint to some tutorials about this on the net as I think this is a general topic of hardware-accelerated-Graphics (I remember similar options when I was messing around with UnrealED3.0 a few years ago).
Again, thank you very much for the quick help and sorry for calling it an error. I see now that this is how things work.
Greetz
killi
|
|
|
|
|
Report
|
|
|
|
08-13-2008, 9:56
|
Karol

Joined on 05-15-2005
Posts 281
|
Re: Projection Alpha Weirdness
|
|
|
|
|
Hi killi, ask your favorite search engine for 'alpha blending' and 'alpha compositing' :) Unfortunately a quick search did not give me really convicing and comprehensive tutorials or papers about this. You would have to collect the interesting parts from the different sources on your own.
Best regards karol
|
|
|
|
|
Report
|
|
|
|
|
 |