mimicking the RGSS viewport tone option in directdraw surfaces

Started by Ryex, July 09, 2010, 12:08:23 am

Previous topic - Next topic

Ryex

ok so I have a directdraw surface and I want to tint it as I would by changing the tone of a viewpoint. no idea how to do this though.

EDIT: ok so I figured out that the effect is akin to the photoshop screen blending mode.
Quote
Screen
    Looks at each channel's color information and multiplies the inverse of the blend and base colors. The result color is always a lighter color. Screening with black leaves the color unchanged. Screening with white produces white. The effect is similar to projecting multiple photographic slides on top of each other.

but how would I create this effect?
I no longer keep up with posts in the forum very well. If you have a question or comment, about my work, or in general I welcome PM's. if you make a post in one of my threads and I don't reply with in a day or two feel free to PM me and point it out to me.<br /><br />DropBox, the best free file syncing service there is.<br />