Announcement

Collapse
No announcement yet.

ue4 lens flare????

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

    ue4 lens flare????

    For you, I saw these two scenes in the official demo, the lens is very nice, but I didn't find the unreal 4 cases, post processing volume do not out the separate effect, who knows how to do this in the unreal 4 in lens flare.

    Click image for larger version

Name:	1CBTA[}92}R{FX5OC1]W8UF.jpg
Views:	1
Size:	76.3 KB
ID:	1136607

    Click image for larger version

Name:	QQ图片20140716103041.jpg
Views:	1
Size:	110.6 KB
ID:	1136608

    #2
    Originally posted by mango View Post
    For you, I saw these two scenes in the official demo, the lens is very nice, but I didn't find the unreal 4 cases, post processing volume do not out the separate effect, who knows how to do this in the unreal 4 in lens flare.

    [ATTACH=CONFIG]6799[/ATTACH]

    [ATTACH=CONFIG]6800[/ATTACH]
    I don't think there's a post processing way to get anamorphic flares by default.

    You can probably do it with crappy fake particle sprites, but I would definitely rather see a way to post process it from brightness.
    [Game] Hyper Jam - Neon-soaked arena brawler
    [Plugin] Auto Settings - Game options and input binding toolkit
    [Plugin] [Free] Inline Styling Decorator - Allow inline styling on RichTextBlock

    Comment


      #3
      Hi Mango,

      This effect was not achieved by using the lens flare in the post process.

      This effect was essentially "cheated" by creating a particle effect with an emissive unlit material.

      As you can see with these attached images (granted mine aren't final or all that good. Just quickly thrown together for reference)

      In this first image you'll see the particle working in the scene.

      Click image for larger version

Name:	particle in scene.JPG
Views:	1
Size:	17.6 KB
ID:	1052627

      Next is the particle system and viewing it in Cascade

      Click image for larger version

Name:	particlesystem.JPG
Views:	1
Size:	110.8 KB
ID:	1052628

      And this is basically all you need for the texture.

      Click image for larger version

Name:	texture.JPG
Views:	1
Size:	18.4 KB
ID:	1052629


      When setting up the particle system there are a lot of features in here to tweak to get a good look. The basic look I have here I used the defaults and only got rid of the velocity to not have the lens flare move. There are some other things to change as well to get it perfect!

      Have fun with it and if you have any questions let me know!

      Tim
      Tim Hobson | Learning Resources | Epic Games
      UE4 Documentation

      Comment


        #4
        Hello, I love this function, thank you to my reference, but I do after I set in accordance with the dazzling shine, there will be several layers. You can send me you create this effect and materials of the.Uasset file.
        Click image for larger version

Name:	QQ截图20140718004944.jpg
Views:	2
Size:	476.9 KB
ID:	1052649

        Comment


          #5
          Originally posted by Tim Hobson View Post
          Hi Mango,

          This effect was not achieved by using the lens flare in the post process.

          This effect was essentially "cheated" by creating a particle effect with an emissive unlit material.

          As you can see with these attached images (granted mine aren't final or all that good. Just quickly thrown together for reference)

          In this first image you'll see the particle working in the scene.

          [ATTACH=CONFIG]6836[/ATTACH]

          Next is the particle system and viewing it in Cascade

          [ATTACH=CONFIG]6837[/ATTACH]

          And this is basically all you need for the texture.

          [ATTACH=CONFIG]6838[/ATTACH]


          When setting up the particle system there are a lot of features in here to tweak to get a good look. The basic look I have here I used the defaults and only got rid of the velocity to not have the lens flare move. There are some other things to change as well to get it perfect!

          Have fun with it and if you have any questions let me know!

          Tim
          Hello, I love this function, thank you to my reference, but I do after I set in accordance with the dazzling shine, there will be several layers. You can send me you create this effect and materials of the.Uasset file.Click image for larger version

Name:	QQ截图20140718004944.jpg
Views:	2
Size:	476.9 KB
ID:	1052650

          Comment


            #6
            That last image was not intended to be downloaded and used. that was just a screen shot from within the editor of the material. that's why there is a white line at the bottom and top on your image.

            You'll need to find an image that you can create this effect from or make your own. You will want to make sure that it is capable of being masked so that you do not have the black area shown like in your image. Although I would argue that what you've created does look like a wicked portal, especially if you were to add some other effects around the edges!
            Tim Hobson | Learning Resources | Epic Games
            UE4 Documentation

            Comment


              #7
              Originally posted by Tim Hobson View Post
              That last image was not intended to be downloaded and used. that was just a screen shot from within the editor of the material. that's why there is a white line at the bottom and top on your image.

              You'll need to find an image that you can create this effect from or make your own. You will want to make sure that it is capable of being masked so that you do not have the black area shown like in your image. Although I would argue that what you've created does look like a wicked portal, especially if you were to add some other effects around the edges!
              Click image for larger version

Name:	QQ截图20140718145417.jpg
Views:	1
Size:	339.8 KB
ID:	1052668I made a special effects editor, but he will not stable fixed there, amplification is flickering, but not reach the style UE4 in the demo demo, I very like this engine, at the same time I am also a lens flare fan, I sincerely hope that the official can give me a about creating lens flare in the special editor help

              Comment


                #8
                Originally posted by Tim Hobson View Post
                That last image was not intended to be downloaded and used. that was just a screen shot from within the editor of the material. that's why there is a white line at the bottom and top on your image.

                You'll need to find an image that you can create this effect from or make your own. You will want to make sure that it is capable of being masked so that you do not have the black area shown like in your image. Although I would argue that what you've created does look like a wicked portal, especially if you were to add some other effects around the edges!

                Does the official, will join lens flare specialized in Unreal Editor 4 me?

                Comment


                  #9
                  This is useful info thanks Tim. Is there a good basic tutorial for the particle/sprite editor you could link me to?

                  Comment


                    #10
                    Hi Tim, Is it possible to share P_WeldSparks Particle System, https://answers.unrealengine.com/que...icle-syst.html
                    Celestial Creator - 3D luxurious builder and shooter game in Steam for Win32&64
                    Construct and build very quickly and intuitively with highest appearance brilliant, elegant, impressive, fabulous, outstanding, magnificent, gorgeous, tremendous, majestic, imperial and superior objects, shapes, buildings, crafting, levels, worlds. Then protect them

                    Comment


                      #11
                      Unfortunately, I cannot share any assets like this from content that has not been publicly released.

                      The basic setup above should be enough to get your started with the anamorphic lens flare though.
                      Tim Hobson | Learning Resources | Epic Games
                      UE4 Documentation

                      Comment


                        #12
                        Hello Tim, Thanks for the fastest respond. Actually I used Particle System of “1.4 GPU particles with Point Gravity“ (P_GPU_particles_attraction.uasset) from Effects Content Examples, which is closed to my idea how to achieve Anamorphic Lens Flare. You can see my video here

                        Here is the example project from Eric Ketchum, https://answers.unrealengine.com/que...icle-syst.html
                        And here are two pictures of my Anamorphic Lens Flare:
                        Click image for larger version

Name:	Day Night Cycle with Clock and Anamorphic Lens Flare - Day.jpg
Views:	1
Size:	232.2 KB
ID:	1065821
                        Click image for larger version

Name:	Day Night Cycle with Clock and Anamorphic Lens Flare - Night.jpg
Views:	1
Size:	312.5 KB
ID:	1065822
                        Celestial Creator - 3D luxurious builder and shooter game in Steam for Win32&64
                        Construct and build very quickly and intuitively with highest appearance brilliant, elegant, impressive, fabulous, outstanding, magnificent, gorgeous, tremendous, majestic, imperial and superior objects, shapes, buildings, crafting, levels, worlds. Then protect them

                        Comment


                          #13
                          Nice!

                          Eric showed me the start of the project he posted yesterday when he was working on it. He is our VFX guy and can do some fun stuff with Cascade!

                          I'm glad you've got the results you're wanting.
                          Tim Hobson | Learning Resources | Epic Games
                          UE4 Documentation

                          Comment


                            #14
                            Judging by the last photo it seems you have the same issue I've been running into, intersecting nearby objects. Is there no solution for this at all?


                            Project Reverie Game | SEJonF.com | Twitter | ArtStation | WIP | UE4 SciFi Assets - Season 1 & Season 2 Discount Bundles Free Asset Demo | Ice Shader

                            Comment


                              #15
                              You should be able to go into the material used for the lens flare and tell the transparency render to skip depth checks (or something similar in name). This causes the material to always render on top.

                              I use it for spawning certain effects (text bubbles that say "THWAK!" and "BLAM!" and such) to avoid intersection. I'm no expert on the science of lens flares but I don't think there's a situation where they OUGHT to be occluded by nearer geometry so that should work

                              Comment

                              Working...
                              X