Announcement

Collapse
No announcement yet.

Distance Field AO rendering problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Distance Field AO rendering problem

    Hey guys, i'm having some rendering issues turning on "Generate mesh distance fields", i deleted all my lights and reopen the editor, put on a movable skylight and then i'm having this weird shadow problem and black holes in the screen.

    My graphics card is Nvidia GTX 765M
    Any issues with my graphics card maybe? Am i doing something wrong?

    Here are some images
    Click image for larger version

Name:	ss2014-10-22at121125_zpsa2761d0b.jpg
Views:	1
Size:	84.3 KB
ID:	1139710
    Click image for larger version

Name:	ss2014-10-22at121205_zps857e7487.jpg
Views:	1
Size:	97.2 KB
ID:	1139712
    Click image for larger version

Name:	ss2014-10-22at122151_zpsfb34fb9c.jpg
Views:	1
Size:	73.6 KB
ID:	1139713
    Click image for larger version

Name:	ss2014-10-22at121253_zps8b2f3f0d.jpg
Views:	1
Size:	74.9 KB
ID:	1139714
    Attached Files
    Grab my FREE Master Material here! @・ω・@

    My Store! (ノ◕ヮ◕)ノ*:・゚✧

    UNF Games Store! 彡゚◉ω◉ )つー☆*

    My Portfolio! (((o(*°▽°*)o)))

    #2
    Update: I scaled up a bit the Distance Field Resolution Scale on Staticmeshes but the problem persisted, sudently when i play in the Editor the problem goes away and everything looks ok.

    Do i need a directional light if i'm using a movable skylight?
    Grab my FREE Master Material here! @・ω・@

    My Store! (ノ◕ヮ◕)ノ*:・゚✧

    UNF Games Store! 彡゚◉ω◉ )つー☆*

    My Portfolio! (((o(*°▽°*)o)))

    Comment


      #3
      Originally posted by Mauriccio View Post
      Update: I scaled up a bit the Distance Field Resolution Scale on Staticmeshes but the problem persisted, sudently when i play in the Editor the problem goes away and everything looks ok.

      Do i need a directional light if i'm using a movable skylight?
      Skylight is just for ambient lighting, it doesn't provide any direct lighting like the sun.
      So yes, if you want a light source like the sun, you'll need a directional light.

      Comment


        #4
        Thank you Jonimake, for those who want to use Distance Field AO feature i really recommend watching the twitch about it http://www.youtube.com/watch?v=DQt_OopZadI
        Grab my FREE Master Material here! @・ω・@

        My Store! (ノ◕ヮ◕)ノ*:・゚✧

        UNF Games Store! 彡゚◉ω◉ )つー☆*

        My Portfolio! (((o(*°▽°*)o)))

        Comment


          #5
          Hi Mauriccio,

          The artifacts in the editor viewport that go away when you press F11 twice (or go into PIE and exit) are a bug in DFAO, hopefully will be able to fix those soon. Usually they do not show up in game, only in the editor.

          The artifacts in your 4th screenshot with the rock look like incorrect self-shadowing due to insufficient DF resolution.

          In your 3rd screenshot it looks like DFAO is working ok other than those 2 things.

          Do i need a directional light if i'm using a movable skylight?
          Only if you want a sun. Although sometimes you want to use atmosphere to create the sky that the skylight will capture and then you can set the directional light as the atmosphere sun to control the direction of the sun in the atmosphere.

          Comment


            #6
            Thank you Daniel, it fixed when i tested in PIE and increased the DF resolution for most meshes. Specially the rocks, i ended up resizing them and have more instances instead of bigger ones.
            Grab my FREE Master Material here! @・ω・@

            My Store! (ノ◕ヮ◕)ノ*:・゚✧

            UNF Games Store! 彡゚◉ω◉ )つー☆*

            My Portfolio! (((o(*°▽°*)o)))

            Comment

            Working...
            X