Results 1 to 10 of 70

Thread: 3D Gamecask Engine

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    This is the algorithm that I used:
    1. Create an Framebuffer Object FBO (you can use TGLFBORenderer from GLScene)
    2. Attach the color buffer to a texture (TGLFBORenderer can do it for you; or look at the source files, if you don't want to use GLScene)
    3. Attach the depth buffer to a texture (TGLFBORenderer can do it for you)
    4. Create your rotateMap texture (4x4 pixels is enough). You can imagine this texture as a sprite which will be imposed on the screen - this is your ambient shadow. (it seems to me that Bokeh Depth of Field uses similar technique)
    5. Read about Ambient Occlusion, shader techinques and write your SSAO shader (depthMap+rotateMap); or find a solution on the internet.

    screenshot9

  2. #2
    How goes the work on SSAO? Here is ready solution for GLScene:
    http://glscene.ru/e107_files/public/...o_glscene1.rar

    My shader is very similar, but I added automatic change of size of ambient shadows and added fog.
    The size of SSAO is dependent on the camera's distance to the observed object and the fog covers SSAO in the further view.
    screenshot10


    By the way, I made several improvements to the Depth of Field (blur was too strong) and now it looks perfect
    screenshot11

  3. #3
    I need some help.
    I'm looking for graphics cards models (desktop computers), that do not support my shaders.

    Please check techdemo.exe and write information about your video card, if an error occurs.
    http://www.gamecask.com/forum/root/r...s/techdemo2.7z
    Information should be similar, as shown below:
    <Your hardware/driver doesn't support shader "Parallax">
    I need this info to buy that card and find out what is wrong. Maybe this is not the best way to find bugs, but practical.

    Until now, there are errors on the integrated ATI cards (I don't have any ATI card, and at least one would be handy).
    Last edited by mobilus; 20-12-2011 at 01:34 AM. Reason: new link

  4. #4
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    If you could port that to Mac, I'd be happy to test it for you on my iMac. It has an ATI card which is not integrated, but a current one at least.
    Jason McMillen
    Pascal Game Development
    Co-Founder





  5. #5

  6. #6

    Post

    Quote Originally Posted by wagenheimer View Post
    I tried to download it 3 times and I got a corrupted download. =(
    Sorry, now it works (checked):
    http://www.gamecask.com/forum/root/r...s/techdemo2.7z

    Quote Originally Posted by WILL View Post
    If you could port that to Mac, I'd be happy to test it for you on my iMac. It has an ATI card which is not integrated, but a current one at least.
    First, I will try to port to XBox 360
    Theoretically it is possible.... I think so...

    ... and there are no problems with different drivers.

  7. #7
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    Quote Originally Posted by mobilus View Post
    First, I will try to port to XBox 360
    Does that mean the first real usage of 'Oxygene for .NET' as a development tool for game development? That's pretty exciting actually. If you want help with such a task, you should contact RemObjects and tell them what you intend. I'm sure they will be more than helpful knowing what a milestone this would be for them.
    Jason McMillen
    Pascal Game Development
    Co-Founder





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
  •