Announcement

Collapse
No announcement yet.

Interesting post from AnswerHub on how to setup a Layer Car Paint shader

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

    #76
    This is fantastic, Ryan! You are the man!

    This is exactly what I was hoping to see one day. The cost of running a scene capture has always been the biggest drawback of my system, but it was impossible to achieve the subsurface details without the multi-layered approach. Replacing the scene capture with your new method will cut performance considerably, and retain the eye candy!

    I will have to revisit my materials and incorporate your method for the standard reflections model. Your results already match the quality I was able to achieve! Whatever performance hit it brings will certainly be less of a blow than rendering a separate 360.

    Your solution is very clever, but it's a little over my head! haha. I need to buckle down and get back into advanced material creation. Still lots to learn!

    Comment


      #77
      Originally posted by CyberKatana View Post
      Stimpanzee, thank you for tutorial. Material looks great! But i have some trouble with reflection after packaging. I found nodes, that give this problem. I am asked this question here but dont have any answer. Have anybody tried to package this(or material that using cubemap generated by SceneCaptureCUbe) material in 4.9 (in another version i don't tried to package)?
      Hey Cyber Katana,

      I believe the issue you are running into has to do with the Scene Capture Actor, within your scene. By default the actor is set to "Capture Every Frame." You can find that check box within the details panel.

      After you have built your project, and the surface turns green, it means that the scene capture actor is not running. The "Cube Render Target" texture is returning a null, which in this case is green.

      There are two solutions:
      #1 - If you want the scene capture actor to render reflections for every frame - make sure the check-box for "Capture Every Frame" is checked on.
      #2 - If you would like the reflections to be static, you can right click on the "Cube Render Target" and select "Create Static Texture." Then all you need to do is replace the Cube Render Target in your material with the new static texture.

      Note: Scene Capture Actors are extremely expensive to use realtime (capture every frame) but there are ways to improve it's performance cost. Check out the video I have here for more info on optimization: Youtube Video

      Comment


        #78
        Originally posted by Stimpanzee View Post
        Hey Cyber Katana,

        I believe the issue you are running into has to do with the Scene Capture Actor, within your scene. By default the actor is set to "Capture Every Frame." You can find that check box within the details panel.

        After you have built your project, and the surface turns green, it means that the scene capture actor is not running. The "Cube Render Target" texture is returning a null, which in this case is green.

        There are two solutions:
        #1 - If you want the scene capture actor to render reflections for every frame - make sure the check-box for "Capture Every Frame" is checked on.
        #2 - If you would like the reflections to be static, you can right click on the "Cube Render Target" and select "Create Static Texture." Then all you need to do is replace the Cube Render Target in your material with the new static texture.

        Note: Scene Capture Actors are extremely expensive to use realtime (capture every frame) but there are ways to improve it's performance cost. Check out the video I have here for more info on optimization: Youtube Video
        You are right! After making static texture material not green anemore. Thank you very much!

        Comment


          #79
          Thanks for the Great material, I followed your tutorial and made the entire material from scratch, Even though it took me two days for it, I learned a lot!
          But inbetween, I got an error saying Warning: Compilation errors in this material "the current material has compilation errors, so it will not render correctly in feature level ES2. Are you sure you wish to continue? "

          What am i missing? and how to rectify this error?
          www.ifthikhar.com
          Heavy 3DsMax - V-Ray User

          Comment


            #80
            Hey ifthikhar,

            Usually I see this error when there is something wrong with the texture parameter, or texture sample node. But it's possible that your error might be coming from somewhere else.

            When you see the error, does the material editor point out a particular node which is causing the error?

            -Vince

            Comment


              #81
              I am interested in your material but I would like to know if it works on 4.12. I understand that there are many changes in 4.12 that impact the material, from the dual normal clear coat shading model to the custom resolution of the reflection captures ... what are your plans for the material?
              Thanks!

              Comment


                #82
                Hey rranon,

                There is a big update coming soon!

                -New optimized variants of each material (Unique VR ready materials)
                -Support for multiple normal maps, thanks to the improved clear coat method
                -New video tutorial explaining the new clear coat method and getting the most out of it, including the improved reflection capture actors.
                -Finally, a new tutorial on practical applications: A comprehensive walk-though of my techniques for matching reference and achieving photo-realism.

                I'm currently wrapping up my own VR automotive project, but I should have time to update the marketplace package this weekend. (fingers crossed)
                The tutorials should be ready the following week.

                -V

                Comment


                  #83
                  I could need your materials for a project I am doing now, so the sooner you update to 4.12, the better

                  Comment


                    #84
                    I noticed you updated the materials to 4.12 and I bought them.
                    A few questions:
                    - what are the differences between the VR and the non VR materials?
                    - what are the differences between e.g. car_paint_s and car_paint_s_s?
                    - have you tried using your materials on mobile? if yes, which ones would you suggest?

                    Thanks and big ups for the very nice work!
                    Last edited by rranon; 07-10-2016, 12:59 PM.

                    Comment


                      #85
                      rranon,

                      -The VR materials have had a majority of the parameters removed for the highest level of performance. Car paint materials are inherently complex because of the multiple layers in real world car paint, but the VR versions of these materials have the fewest operations to achieve the result.

                      -The first S in the name denotes that the material is part of the "standard reflections" group. Those materials are fully PBR safe and take advantage of UE4's built-in reflection systems. CarPaint_R is in the "Reflections" group. It uses a complex masking system and scene capture cubes to render the top clear coat layer in the paint.

                      The second "s" in car_paint_S_S stands for simple. Those materials are simplified versions and have had the complex masking and rust systems removed. car_paint_s_s was built because, more often than not, developers don't need rust or pin stripes. If you create a material instance from one of the "simple" paint master materials, you will notice a reduction in parameters. I haven't counted, but the simple versions of the car paint have somewhere between 20-40% fewer parameters to adjust.

                      -The car paint materials only take advantage of the standard set of inputs: BaseColor, Roughness, Metallic, Specular, Normal, Emissive
                      All of the materials are relatively expensive in compute performance, but they will all run in ES2. I would recommend using the VR versions of either the "R" reflections or "S" standard car paints. Because the VR variants offer the best performance, you won't have to sacrifice many other features to get it running on mobile.

                      Let me know if you have any more questions! The tutorials are still coming along and should be out soon!

                      -Vince

                      Comment


                        #86
                        It has been a long time since I've created the car paint materials but I have not had the chance to show off how I use them! In the past year and a half I've used my paint system for projects and VR configurators for the likes of Porsche, Alfa Romeo, Audi, Volkswagen, and most recently Toyota.

                        Now you can see my latest work in video form! For this piece, I was responsible for: rendering/editing, materials, and a good majority of the lighting. Rendering 360s out of Unreal has been a fun challenge. Just another example of how versatile it is.

                        Comment


                          #87
                          Is that Michio Kaku, the physicist?!
                          | Savior | USQLite | FSM | Object Pool | Sound Occlusion | Property Transfer | Magic Nodes | MORE |

                          Comment


                            #88
                            Originally posted by BrUnO XaVIeR View Post
                            Is that Michio Kaku, the physicist?!
                            Sure is! I didn't get to meet with him, unfortunately.

                            Comment


                              #89
                              Not Dead Yet

                              Hey Devs!

                              Sorry it's been such a long time since I have had any new useful information on car paint. Thankfully, Epic has put out a new shader pack which includes some car paint materials. They look pretty good and it takes a totally different approach to do it! The pack has a ton of other stuff too: paint, leather, metals, and others. If you haven't checked it out yet, you can download it now for free! https://www.unrealengine.com/marketp...-material-pack

                              The car paint materials use some clever functions to boost the visual "glint" effect of car paint. If I can get some free time soon, I would like to put together a video which deconstructs the materials. Keep an eye out for that.

                              Also, new news for my material pack on the marketplace. The price has been reduced!!! To stay competitive with Epic's own content, I decided to lower the price of my materials after more than a year on the marketplace. I still guarantee the materials are worth the cost. Their versatility and visual quality are still unmatched, but you can't beat free, so I did my best to get closer to it. Of course you can always check out my tutorial on building a basic version of the materials. (for free) http://www.caferaces.com/p/tutorials.html

                              And because eye candy is fun, I thought I would throw some new images up. Enjoy!










                              Attached Files
                              Last edited by Stimpanzee; 09-22-2016, 03:06 PM.

                              Comment


                                #90
                                Hello,

                                you mentioned a tutorial a while ago on matching reference materials, did you release it?

                                Thanks!

                                Comment

                                Working...
                                X