Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: HDR without shaders - It can be done the lamers way

  1. #11

    HDR without shaders - It can be done the lamers way

    I used a similar glow technique in my Chrome plugin...

    You might want to blur the texture before rendering it back to the screen...

    To blur it, you render the texture twice back onto the *same* texture you rendering, first with a shift to the left, then again with a shift to the right
    (with transparency of course)

    Then you take the updated texture and render it back onto the same texture again, this time shifting it up and down.

    If you do this enough times, it will make a VERY nice blurred glow.

    Fullsize pic: http://www.nitrogen.za.org/viewimage.asp?id=26
    My site: DelphiTuts.com (coming soon)...

    Download Font Studio 4.21 here.

  2. #12
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    HDR without shaders - It can be done the lamers way

    I was thinking to blur it pixel by pixel, but I think rendering it up/down would be better. (don't know if its faster).

    Thanx for the idea.
    NecroSOFT - End of line -

  3. #13

    HDR without shaders - It can be done the lamers way

    It should definitely be faster... The more work you offload onto the GPU the better.
    My site: DelphiTuts.com (coming soon)...

    Download Font Studio 4.21 here.

  4. #14
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    HDR without shaders - It can be done the lamers way

    Just be sure to add options for those features that some graphics cards might not handle so well...

    I remember not being able to play some games on my old laptop bcause it was so old. The CPU was up to spec, but the graphics card just sucked. Sort of an extreme case since mine practically didn't have *any* 3D accelleration features whatsoever, but still maybe some players might not have pixel shaders 2.0 and instead have only 1.0, etc...

    *shrug* It's just nice to be able to still play even though your graphics settings are set a bit lower to compensate.


    BTW you killed your really BIG image.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  5. #15
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    HDR without shaders - It can be done the lamers way

    No, I dind't killed my image, my server was down. Upgraded to Windows Server 2003... (and within 10 min I got my first BSOD)

    Hm.., are you going to archive something alike Tron 2.0 rendering?
    Comming back to this part: just tested it and its's possible
    NecroSOFT - End of line -

  6. #16
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    HDR without shaders - It can be done the lamers way

    So I finnaly blured the texture. We got a better result, but it runs @ 3-4 FPS




    I think I need to go with Nitrogen's approach. Render and shifting it...
    NecroSOFT - End of line -

  7. #17
    Legendary Member NecroDOME's Avatar
    Join Date
    Mar 2004
    Location
    The Netherlands, Eindhoven
    Posts
    1,059

    HDR without shaders - It can be done the lamers way

    UPDATE:

    Glow in the dark


    (as you can see, I did a bit of red-tron-glow on the players ship)
    NecroSOFT - End of line -

  8. #18
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25

    HDR without shaders - It can be done the lamers way

    Woo hoo! Tron-Glow rocks!
    Jason McMillen
    Pascal Game Development
    Co-Founder





Page 2 of 2 FirstFirst 12

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
  •