Results 1 to 10 of 10

Thread: Render into Texture

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Correct rendering into texture

    I want to share with you some interesting fact about rendering into texture in different engines/libraries/etc., and I want to test some of them, which are you using(Andorra2D, Asphyre, Phoenix, whatever else, except ZenGL and quad-engine, because I know how they works ).

    So, here the only needed resource:


    Here the step-by-step operations for reproducing "interesting" effect:
    - create window with size 256x256
    - create and set current Render Target, which must be absolutely transparent(color - 0, alpha - 0)
    - render white rectangle with size 256x256 and alpha equal to 255
    - render penguin(size - 64x64) in coordinates 96, 96(or just in center - 128,128 ) with normal blending
    - switch to scene
    - render content of Render Target using normal blending mode

    At the end you must get something like this:


    Attach your screen here and describe which engine did you use. Most of engines(I think so) will show you little bit grey penguin instead of "cute and white" Like this:
    Last edited by Andru; 21-02-2011 at 01:09 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •