Not logged in, Join Here! or Log In Below:  
 
News Articles Search    
 

 Home / General Programming / direct3D render mode Account Manager
 
Archive Notice: This thread is old and no longer active. It is here for reference purposes. This thread was created on an older version of the flipcode forums, before the site closed in 2005. Please keep that in mind as you view this thread, as many of the topics and opinions may be outdated.
 
Steph

May 07, 1999, 03:50 AM


Hello,

I am trying to have a render mode doing this with D3D:

result_frame_buffer_pixel = frame_buffer_pixel - texel

but the blender only seem to be able to do something like this:

result_frame_buffer_pixel = texel * src_blend_factor + frame_buffer_pixel * dest_blend_factor

with src_blend_factor and dest_blend_factor in [0,1].

Is there a way to do it?
Steph

 
Mittring Martin

July 05, 1999, 10:07 AM



Steph wrote:
>>
>> Hello,
>>
>> I am trying to have a render mode doing this with D3D:
>>
>> result_frame_buffer_pixel = frame_buffer_pixel - texel
>>
>> but the blender only seem to be able to do something like this:
>>
>> result_frame_buffer_pixel = texel * src_blend_factor + frame_buffer_pixel * dest_blend_factor
>>
>> with src_blend_factor and dest_blend_factor in [0,1].
>>
>> Is there a way to do it?
>> Steph

Yes and no.

If you have a card that can render to texture, has multitexturing and SUBTRACTION between TextureStages, then: yes. ( voodoo3;G400;..? )

If you want this between 2 textures, you donīt need the render to texture.


I wanted to make volumetric fog with taht, but currenty the card with that features are rare,

Martin

 
This thread contains 2 messages.
 
 
Hosting by Solid Eight Studios, maker of PhotoTangler Collage Maker.