Lets say I have 2 textures as shown in the attached position. How can I get the red texture to "bleed"(Sort of like blur) its color onto the green texture?
Printable View
Lets say I have 2 textures as shown in the attached position. How can I get the red texture to "bleed"(Sort of like blur) its color onto the green texture?
I am curious on this as well, I do not know the answer, but which version of Directx are you using?
DirectX 8.1
Not sure exactly how to do it, but sounds like you'd want to get a "snapshot" of the surrounding area in a buffer, apply some kind of Blur Filter, then re-paint it onto your BackBuffer.
Now that I've pointed out the obvious workaround answer, you can move on. ;)
Are you using MultiTexturing? Do you have Antialiasing enabled? Using these two should help get what you are looking for.
Also the Green polygon would work better for your blur effect if you were using a light map rather than that green polygon. You oughta Google lightmaps. I have some if ya want any too.
What you're asking for is advanced, involving concepts such as gaussian blurring and, if you want it at any decent speed, maybe even pixel shading. I'm not sure why you wouldn't just load up an image editor...
Actually a lightmap would produce what hes looking for.
For example, when you multitexture
http://www.vbforums.com/+http://www.vbforums.com/= http://www.vbforums.com/
Only depending on what the lightmap looks like will depend on the result. In his case, hes looking for a green glob, which a simple blured circle in the center can do.
To avoid the blackness that would make part of the image dark though, you change the ambient lighting settings for that polygon. Best to make the ambient settings white so your red polygon is totally red, rather than black.
Here you go, I created one for you in like less than a minute. If you want it to be green, you simply change the color of the 4 vertex corners to green.
Here is what your result should look like. If you don't like the lightmap, or think it needs changes, I'd be glad to help.
Sastraxi is right, what im looking for is an effect sort of like blur.
That's what lightmaps are. Gaussian blurred black and white images. Just apply multitexturing, change some ambient settings, and vwola :bigyello:
No, I want it blur. Open the pic I made, 2 boxes, in photoshop, filter>blur and youll see what I mean.