Announcement

Collapse
No announcement yet.

Toon shading model

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

    #46
    The shading model is phenomenal.

    Only been testing for about an hour and it does everything I need

    Going to post stuff as soon as I have good examples to show. Hehe this is going to be a great week.


    This is seriously awesome and generous.
    Your work is really impressive.
    Thanks Arnage.
    Steve S.

    Comment


      #47
      Thank you arnage!!

      could someone please tell me what i have to do to set this up correctly? i am not a coder and have absolutely no clue
      Last edited by substract; 09-14-2015, 02:13 AM.

      Comment


        #48
        Thank you so much for this, after hours and hours of searching, the best I could find were some post-processing filters that wouldn't of worked how I needed. I was planning on reworking or scrapping the project I'm working on if I was still unable to find anything today, so this has come as a massive relief to me!

        - Unfortunately when I click the Github link all I'm getting is a 404 error, so I've not yet been able to work with this shader model yet, hopefully this can be fixed soon

        This aside I have two questions/possible requests/feedback for future implementation that would complete the tools I'd need to take my project to completion:

        1. In my 3DApp I'm currently using vertex color as an AO-like input to create user-defined areas of shadow on the model that are constantly dark, these then blend together with the regular shading, appearing as one.
        This effect is really helpful for making the model look more 2D along with the extra control and detail it provides.

        Click image for larger version

Name:	UserShadingExample.jpg
Views:	1
Size:	217.3 KB
ID:	1087555

        2. I've not yet gotten this far in my personal project, however one of the next things I was planning on doing is using a texture map to define the colour of the shadowed areas, sort of similar to subsurface colour.
        This would be really helpful for visually communicating what kind of surface something is, EG: Lighter shadows could give the impression of something being thin and light (for example hair), redder, more saturated shadows more fleshy and soft, darker shadows, harder and heavier like metal or stone.

        Other than those two features, this shader model appears to be absolutely perfect for my project, I can't thank you enough for your generosity!

        Comment


          #49
          Originally posted by substract View Post
          Thank you arnage!!

          could someone please tell me what i have to do to set this up correctly? i am not a coder and have absolutely no clue
          You either have to learn how to compile the engine or you have to wait and hope Epic integrates the PR. If I remember correctly the EULA forbids redistributing the editor itself and even if it didn't I don't have the space to host such a big download. So I don't think there are many other options.

          On the positive side: compiling the editor is actually not that hard and quite well documented.

          Comment


            #50
            Originally posted by Kealani View Post
            - Unfortunately when I click the Github link all I'm getting is a 404 error, so I've not yet been able to work with this shader model yet, hopefully this can be fixed soon
            This simply means you are not logged in to github. The engine source is in a private repo, so you have to be logged in to reach it. For some reason github just gives you a really unhelpful 404 instead of a informative "please log in" error.

            Originally posted by Kealani View Post
            1. In my 3DApp I'm currently using vertex color as an AO-like input to create user-defined areas of shadow on the model that are constantly dark, these then blend together with the regular shading, appearing as one.
            This effect is really helpful for making the model look more 2D along with the extra control and detail it provides.

            [ATTACH=CONFIG]57049[/ATTACH]
            This is possible with the current implementation. Remember that it's a shading model, not a single material, so you can use the material editor to achieve this effect.

            Originally posted by Kealani View Post
            2. I've not yet gotten this far in my personal project, however one of the next things I was planning on doing is using a texture map to define the colour of the shadowed areas, sort of similar to subsurface colour.
            This would be really helpful for visually communicating what kind of surface something is, EG: Lighter shadows could give the impression of something being thin and light (for example hair), redder, more saturated shadows more fleshy and soft, darker shadows, harder and heavier like metal or stone.
            This is also possible. To add color to the shadowed area you simply place something in the emissive slot. There is no need for this to simply be a float, add whatever you like.

            Comment


              #51
              Awesome! thank you for the quick reply - I wasn't sure how easy these effects would be to pull off since I'm still fairly unfamiliar with Unreal 4, I'll get there

              Also, having never used GitHub before, simply getting a 404 was more confusing than anything else, and a google search to check if it was my fault or not just told me that it was an error on the site's end
              thank you for clearing it up!

              EDIT- I've created a Github account, however I'm still getting the same 404 error. I tried a different browser client in case chrome was causing the issue, no luck still.

              EDIT 2- Fixed now, it was just issues with the Unreal/Github account linking and my own stupidity.
              Last edited by Kealani; 09-14-2015, 08:04 AM.

              Comment


                #52
                Originally posted by Kealani View Post
                EDIT- I've created a Github account, however I'm still getting the same 404 error. I tried a different browser client in case chrome was causing the issue, no luck still.
                Did you link your unreal engine account to your github account? If so, are you able to access the regular unreal engine repo?

                Comment


                  #53
                  What's about cell shadding or the same, anime shadding style?

                  Comment


                    #54
                    This is awesome Arnage!! I'll post a screenshot of one of my models here with the shader once I get it up and running

                    Thanks again!

                    Comment


                      #55
                      Commenting to say I hope it gets integrated. Really great work.
                      Spline-Enabled Fence Pack - "Great pack, huge time-saver, top quality and enough variety to really make the assets unique." -Dark Acre Jack
                      Destructible Road Signs - "Seriously awesome. Single blueprint for pretty much all the road signs you'll ever need." -thankstipscom
                      Zipline/Teleporter/JumpPad - "This is a very flexible system for any project, and really simple to implement." -lunyBunny
                      Wooden Storage Pack - "Very good high quality assets and well worth it." -Deathweave
                      Digital Portfolio

                      Comment


                        #56
                        Nice work.

                        Comment


                          #57
                          This looks incredible. Hoping it gets publicly usable (integrated or available in marketplace)

                          Comment


                            #58
                            Hey Arnage, nice work! I was hunting around trying to find a good toon shader for UE4 and came across this. Just got it built earlier tonight and have been messing around. I was wondering if you could post the settings you used for your teapots and your windwaker shots. I'm still trying to sort out how to relate this to what I traditionally think of with Cel Shading, as having x number of bands, each a specific amount of lighting. (So say, 2 bands, one where the normal is aligned with the light source 100% to 40% is one brightness and 40% to 0% is another).

                            Comment


                              #59
                              Originally posted by Vapes View Post
                              Hey Arnage, nice work! I was hunting around trying to find a good toon shader for UE4 and came across this. Just got it built earlier tonight and have been messing around. I was wondering if you could post the settings you used for your teapots and your windwaker shots. I'm still trying to sort out how to relate this to what I traditionally think of with Cel Shading, as having x number of bands, each a specific amount of lighting. (So say, 2 bands, one where the normal is aligned with the light source 100% to 40% is one brightness and 40% to 0% is another).
                              Unreal uses 0 to 1 ranges for all parameters so a number of steps/bands would not have been very consistent. Instead I went with step size, which you can see as 1/number of steps. So if you want two bands you set step size to 0.5. The intensity is done automatically, so with two steps the first cell has 100% light intensity, while the second has 50%, manual control over this would have been hard to implement logically within the material editor and would have cost more instructions, so I opted not to add that.

                              Comment


                                #60
                                Awesome, thanks for the info. Just spent a while with it tonight and got some pretty cool effects going. Combined the shader w/ some toon style outlines/strokes. I used wind waker Link as a starting point, but then started to apply some of the styles we're looking at using. Overall it worked very well.
                                Click image for larger version

Name:	windwaker.png
Views:	1
Size:	284.8 KB
ID:	1087831
                                The outlines are are darker versions of the colors of the actual model. There's a little bit of funkiness we'll aim to work out, but it's looking pretty nice. One thing I came across is that the shading tends to look better if the model is set to not cast shadows. Or at least to 'Cast self shadows only'. The self shadows only is what I have on in this shot, but you can see where the head makes a shadow on the arm, and the hair on the face that it's diffused. If I turn off shadows it looks more like your shots, but then I have no shadow on the ground. Any ideas there?

                                (Also I toss a +1 at your PR, if there's anything else that can be done to promote the branch let me know, I'd love to see it merged.)

                                Comment

                                Working...
                                X