Announcement

Collapse
No announcement yet.

Global Illumination alternatives

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

    #61
    Enligthen is using very similar technique to DRT and it is integrated into Frostbite. I would say that makes used in quite a few games already .

    And still, calculating radiance transfer can't be any slower than calculating lightmaps. The difference is I have to recalculate lightmaps every time while, radiance transfer only when I change geometry.

    The interesting part about DRT (if done to the paper) is the fact that baking in that case is matter of seconds, because it reuse a lot of data, and cages are generated while baking. It of course lowers quality for anything that is not 90 degree angle wall or cylinder. But it still might be usefull, for small props, which could be contained in simple box, and calculations for that box could be reused all over.

    Anyway. I don't like geometry cages as well. But as I said, there is possibility of reusing work you have to do anyway. Like collision geometry or LOD geometry or just buy yourself Simplygon. It's certainly far less work than creating unwrap for UV maps.

    Btw If you want large terrain I would focus on Landscape Demo. That is large terrain .
    https://github.com/iniside/ActionRPGGame - Action RPG Starter kit. Work in Progress. You can use it in whatever way you wish.

    Comment


      #62
      I have been thinking.

      Would it be possible to merge Voxels and spherical haromonics used in PRT techniques ?

      Looking at this slide:
      http://on-demand.gputechconf.com/gtc...ation-gpus.pdf

      The most expensive operation is cone tracing.
      But most of the time, cone tracing is wasted operation since most of the geometry is static, and only thing which is going to change is lighting information.

      What if instead of tracing every so often, we would calculcate SH for every voxel and store it for further use (just as probes are used). In that case there would be much more information to store, than with probes.

      Would it be possible to pre calculcate SH for voxel shapes, and then use those shapes at runtime to dynamically voxelize scene in radius, wrap voxels around geometry and then use precomputed SH for voxels, to calculate indirect lighting ?
      It would be similar to MRT/DRT but instead of using primitive shapes, with precomputed SH, we would use voxels, to attach them around geometry.

      Does it make sense ?

      edit:
      http://www.pmavridis.com/data/Volume...tion_final.pdf

      Something alike what I have been thinking about.
      Last edited by iniside; 09-10-2014, 01:41 PM.
      https://github.com/iniside/ActionRPGGame - Action RPG Starter kit. Work in Progress. You can use it in whatever way you wish.

      Comment


        #63
        I found some information from Cyril Crassin on Voxel Cone Tracing today that looks interesting.

        http://www.icare3d.org/research-cat/...e-tracing.html

        Comment


          #64
          Enligthen in Unity 5
          https://www.youtube.com/watch?v=NqyTT0rQW1M

          Bit unrelated but I must say it looks spectacular.
          https://github.com/iniside/ActionRPGGame - Action RPG Starter kit. Work in Progress. You can use it in whatever way you wish.

          Comment


            #65
            Originally posted by iniside View Post
            Enligthen in Unity 5
            https://www.youtube.com/watch?v=NqyTT0rQW1M

            Bit unrelated but I must say it looks spectacular.
            Saw that and talked with the guy, he had a lot of problems with the screenspace reflections and making sure everything was set up right, but the end results do look pretty good.

            Comment


              #66
              A new rendering card has been added "Raytraced directional light soft shadows using distance fields". What does it even mean? lol Either way I'm happy we are seeing more dynamic lighting stuff being worked on(assuming its dynamic).
              TOUR of DUTY

              Comment


                #67
                Originally posted by SonKim View Post
                A new rendering card has been added "Raytraced directional light soft shadows using distance fields". What does it even mean? lol Either way I'm happy we are seeing more dynamic lighting stuff being worked on(assuming its dynamic).
                Fascinating idea, recalculted distance fields for skinned characters I hope. Was thinking about how to do this in realtime, most interio lights have results too soft for PCF, and sampling problems are introduced with naive shadow mapping. Was thinking of edge importance sampled depth peeling stored in an MSAA target, but distanced fields would be an interesting idea, even if only for static geometry.

                Comment


                  #68
                  A new rendering card has been added "Raytraced directional light soft shadows using distance fields". What does it even mean? lol Either way I'm happy we are seeing more dynamic lighting stuff being worked on(assuming its dynamic).
                  More information soon (we haven't even announced that in the Engine news yet =)

                  Just to whet your appetite (note the sharp contact shadows and soft distant shadows)
                  Click image for larger version

Name:	5DistanceFieldAreaShadows.jpg
Views:	1
Size:	640.9 KB
ID:	1056628

                  Comment


                    #69
                    Originally posted by DanielW View Post
                    More information soon (we haven't even announced that in the Engine news yet =)

                    Just to whet your appetite (note the sharp contact shadows and soft distant shadows)
                    [ATTACH=CONFIG]11501[/ATTACH]
                    Nice! Is this going to have the same requirements as DFAO for meshes or is it going to work regardless of the scale, open faces, etc. of meshes? And i hope this wont crash like DFAO does, otherwise it will be another sad update for me. :\
                    FREE Lightshow
                    FREE VR Drum Kit Project

                    FREE Color LUT Collection
                    FREE Physics Driven Spacecraft Project
                    FREE GTA Style Vehicle Interaction
                    Dynamic DoF(Depth of Field)
                    Camera Crossfade

                    Comment


                      #70
                      Originally posted by DanielW View Post
                      More information soon (we haven't even announced that in the Engine news yet =)

                      Just to whet your appetite (note the sharp contact shadows and soft distant shadows)
                      [ATTACH=CONFIG]11501[/ATTACH]

                      Wow that's beautiful! I'd always wanted that type of shadow!Are they dynamic?! With that said I would love to use DFAO but it has some limitation(i.e. building has to be same size). Will those limitation be addressed in the future?
                      Last edited by SonKim; 09-12-2014, 03:11 PM.
                      TOUR of DUTY

                      Comment


                        #71
                        Hey Daniel,

                        sorry for such a late reply! Man, thats one of the most "epic" (höhö^^) answers I ever got! Thank you a lot. That helped me quite abit and threw up some interesting ideas which I already passed over into our coder dungeon^^ Sadly, I dont see us implementing any custom stuff (at least at this complexity level) anymore, since we dont have that much time left. So we will probably stick to what we have and make small improvements to just make it work better for our specific needs. But still, very inspiring for future stuff!

                        Thanks again for this detailed answer and cheers!

                        Edit: Is there a way to exclude meshes from the DFAO calculation? Would be very neat to tell all the grass meshes for example to just not use it/affect it. That would also help with the performance I guess
                        Last edited by Daedalus51; 09-15-2014, 05:21 AM.
                        Check out UNREAL 4 Lighting Academy
                        https://forums.unrealengine.com/show...ng-like-that-)

                        Comment


                          #72
                          One last random thought, probably blog this elsewhere, in fact I'll do that now! For each cubemap, store albedo depth and normal (compacted to two channels for normal and albedo, quality not that important) then with originating camera position you've got all you need to relight say, one 256x256 cubemap face each frame, resulting in however many (in this case 5) newly lit cubemaps a second.

                          Keep the the relighting to say, the sun/primary light and whatever changes to the skybox, and you've got a relatively cheap dynamically relightable image based lighting system, for relatively little coding effort. It shouldn't even be that GPU intensive, you're just re-shading a fixed screenbuffer with a shadow map applied, no draw calls or anything else needed. Heck do 3 faces a frame and you could do 150 cubemaps over ten seconds, assuming your primary environment lighting doesn't change that quickly it would all be fine.

                          Comment


                            #73
                            http://graphics.cs.aueb.gr/graphics/...tsPreprint.pdf

                            That is very interesting technique. Very, very fast, support arbitrary number of bounces, and it doesn't have any special requirments on geometry.

                            Downside it supports on diffuse. But hey! You can't have everything in single solution.
                            https://github.com/iniside/ActionRPGGame - Action RPG Starter kit. Work in Progress. You can use it in whatever way you wish.

                            Comment


                              #74
                              https://software.intel.com/sites/def...hadow_Maps.pdf

                              That could be combined with Cascaded Voxel Cone Tracing. Albeit it is not very high quality but seems very efficient.
                              https://github.com/iniside/ActionRPGGame - Action RPG Starter kit. Work in Progress. You can use it in whatever way you wish.

                              Comment


                                #75
                                Originally posted by iniside View Post
                                https://software.intel.com/sites/def...hadow_Maps.pdf

                                That could be combined with Cascaded Voxel Cone Tracing. Albeit it is not very high quality but seems very efficient.
                                Hmmm...I am not really sure, but 58.5 ms in Sponza on a GTX770 doesnt seem very efficient Though I must admit that it looks like a interesting idea
                                Check out UNREAL 4 Lighting Academy
                                https://forums.unrealengine.com/show...ng-like-that-)

                                Comment

                                Working...
                                X