Announcement

Collapse
No announcement yet.

FX and UI Functions

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

    [RELEASED] FX and UI Functions

    Hi everyone,

    This is a collection of powerful material functions, which can be used to create complex and highly adjustable materials for visual effects and user interfaces. It contains 45 material functions, all of which are completely based on mathematical operations, without the use of any textures.



    Also check out the video Luos has made, where he uses this package to create a nice mesh based projectile: https://www.youtube.com/watch?v=TH4Q1n77SAQ

    Contains:

    10 utility functions
    7 functions to transform UV coordinates
    14 functions to create different shapes (3x polygon, 2x rays, 2x star, astroid, 2x spiral, 2x flower, heart, cannabis)
    7 noise functions (different complexity and type)
    3 utility noise functions (can be used with many different noises to create new patterns)
    4 functions to create flares (based on different noise types)

    A demonstration map shows what each material function does and how changing the parameters affects the result. For this purpose the project includes 85 master materials and 123 material instances.
    The materials and material functions are commented and include descriptions for nodes and input and output pins.
    Some additional information regarding the functions (especially on noise) can be found in the map as well. So this project can also act as a learning resource.

    Advantages of procedurally generated shapes include:
    1. Little disk space required, reducing download time of your project.
    2. Almost no space in memory required.
    3. Effects look sharp and clean, no matter how close you get or how big you scale them.
    4. Parameters can be adjusted at runtime and animated frame-by-frame.
    5. A huge number of variations can easily be generated.

    A few screenshots:
    Click image for larger version

Name:	FxAndUiFunctions_Screenshot_01.png
Views:	1
Size:	279.6 KB
ID:	1217634

    Click image for larger version

Name:	FxAndUiFunctions_Screenshot_02.png
Views:	1
Size:	734.4 KB
ID:	1217635

    Click image for larger version

Name:	FxAndUiFunctions_Screenshot_03.png
Views:	1
Size:	255.8 KB
ID:	1217636

    Click image for larger version

Name:	FxAndUiFunctions_Screenshot_04.png
Views:	1
Size:	243.5 KB
ID:	1217637

    Click image for larger version

Name:	FxAndUiFunctions_Screenshot_05.png
Views:	1
Size:	488.0 KB
ID:	1217638

    Click image for larger version

Name:	FxAndUiFunctions_Screenshot_06.png
Views:	1
Size:	472.1 KB
ID:	1219954

    Click image for larger version

Name:	FxAndUiFunctions_Screenshot_07.png
Views:	1
Size:	340.2 KB
ID:	1217639
    Last edited by HappyDay; 06-08-2017, 05:21 PM.
    Have a happy day!


    #2
    Let me be the first to vouch for this.

    Great material functions, great results, nothing more expensive (instruction wise) then it should be, versatile, and handy.
    Great for stylized vfx, nice material effects, and a lot more.
    I'll be using this loads.

    Comment


      #3
      Interesting and very useful.

      Comment


        #4
        Found this through Luos just now, I will definitely be keeping my eye on this Great work.

        Comment


          #5
          Totally a grab for me. Thanks Luos for letting us know about it!

          Comment


            #6
            I already want this!

            Comment


              #7
              Really amazing, waiting for this!!

              Comment


                #8
                nothing more expensive (instruction wise) then it should be
                Plus author mentioned "mobile"..
                So, how actually expensive it is?

                I'll try to clarify my point here:
                Ryan told that UE4 noise is expensive (like, You should avoid it if possible).
                Last edited by S-ed; 05-03-2017, 06:43 PM.
                Twitter | MinimalUI UE4 Editor Theme
                Dark Themes for: Forum | AnswerHub | Everything else

                Comment


                  #9
                  Thanks for all the nice comments. It's really cool to see so many people interested in these functions. And huge thanks again to Luos for his feedback and support.

                  Originally posted by S-ed View Post
                  So, how actually expensive it is?
                  Well, to list a few numbers - These are the "Info Base pass shader without light map" instructions for an emissive unlit material:
                  • Polygon_01: 70
                  • Star_01: 80
                  • Noise_02: 60
                  • Flare_01: 76
                  Noise_02 is the simplest 2D value noise function and it's used in the Flare_01 function, which you can see in all 6 examples in the first screenshot.

                  In comparison, the engine default noise node options with 1 level, without turbulence:
                  • Simplex - texture based: 119
                  • Gradient - texture based: 121
                  • Fast Gradient - 3D texture (doesn't work on mobile): 59
                  • Gradient - Computational: 124
                  • Value - Computational: 87
                  • Voronoi: 198


                  Don't take these numbers too literal though. Instruction count is more or less just an estimate of the true performance impact. The three texture based noise types from the engine node have obviously an additional texture lookup. When choosing multiple layers for noise, the instruction count doesn't show increased numbers of the iterations. Different instructions have different cost. These are pixel shader instructions, so performance impact depends on how many pixels the material covers on your screen, etc.

                  Simply put, the performance cost of these functions is pretty low, unless you go overboard with noise with a high number of levels. I hope that answers your question.

                  If you are really worried about the performance cost of noise, you can always just bake it out and use a noise texture instead of calculating it in the material (see https://www.unrealengine.com/blog/ge...f-noise-in-ue4). That has its own drawbacks though. I also want to point out that most functions in this pack have nothing to do with noise.
                  Last edited by HappyDay; 05-03-2017, 08:45 PM.
                  Have a happy day!

                  Comment


                    #10
                    Quick update: The submission has been approved, I'm now waiting to get informed about the release date.
                    Have a happy day!

                    Comment


                      #11
                      Originally posted by HappyDay View Post
                      Quick update: The submission has been approved, I'm now waiting to get informed about the release date.
                      Great news and grats!

                      teak
                      "A little bit of nonsense now and then is cherished by the wisest men..."
                      -- Willy Wonka

                      Smooth Zoom Camera Plugin for 4.24 here.

                      Comment


                        #12
                        Looks awsome! The colors! So beautiful

                        Comment


                          #13
                          I Salivate, daily, waiting for this pinata of goodies to drop. Amazing work!

                          Comment


                            #14
                            Keep checking every week for an update... so hungry for this
                            Seriously looks great.

                            Comment


                              #15
                              I'm happy to announce, the release date on the marketplace has been set to June 7th! I'll put the pack on Gumroad a day or two in advance for those who can't wait or prefer to download from an alternative platform.
                              Have a happy day!

                              Comment

                              Working...
                              X