Author Topic: Realistic car shader help  (Read 1250 times)

2023-10-12, 00:31:17

realYuri

  • Active Users
  • **
  • Posts: 9
    • View Profile
I'm wondering how to create a car shader similar to the ones in these pictures. These are renders from Colorsponge using Vray. Whenever I try to create car paint, it often turns out mediocre. In my shader, I include normal flake maps, bump details for the coating layer, and some roughness details. I believe the issue might be related to the scale of the flake normals. However, when I scale them down, they just make the paint look noisy and rough. Could anyone recommend any tutorials on this topic?

Thanks!

2023-10-12, 16:51:53
Reply #1

burnin

  • Active Users
  • **
  • Posts: 1535
    • View Profile
Well, Vray has specific procedural "VRayFlakesMtl" that Corona doesn't have. And while 3DS Max users can take advantage of OSL version, C4D users can't. Which means you're stuck with 'lesser' option to 'fake it until you make it'.
For starters, look around, IIRC there are few examples... ie. Nail polish/Carpaint aka "Glimmer"

Here's a quick "Physical metal material" test based off of it (noise scaled to 1% and added coat w/ absorption).


2023-10-12, 17:16:25
Reply #2

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12768
  • Marcin
    • View Profile
There are car paint materials in the Corona Material Library.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2023-10-12, 18:52:53
Reply #3

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3873
  • Bengamin
    • View Profile
    • Cormats
I tend to make mine using a layered shader. :)

Bengamin Jerrems l
Portfolio l Click me!

2023-10-13, 00:46:58
Reply #4

realYuri

  • Active Users
  • **
  • Posts: 9
    • View Profile
I tend to make mine using a layered shader. :)



I see. I used the physical material with the clearcoat and not anything else. I should start mixing materials to get more control.

Thank you for the help

2023-10-13, 11:45:11
Reply #5

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3873
  • Bengamin
    • View Profile
    • Cormats
It can also be done using a single material. Here's an example and settings. :)



Bengamin Jerrems l
Portfolio l Click me!

2023-10-13, 15:24:28
Reply #6

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3873
  • Bengamin
    • View Profile
    • Cormats
If anyone is interested, you can also render out your own ''flakes'' using Chaos Scatter. :)



Bengamin Jerrems l
Portfolio l Click me!

2023-10-14, 00:28:41
Reply #7

realYuri

  • Active Users
  • **
  • Posts: 9
    • View Profile
If anyone is interested, you can also render out your own ''flakes'' using Chaos Scatter. :)





Wow thank you this is coming in clutch!

2023-10-14, 00:57:37
Reply #8

realYuri

  • Active Users
  • **
  • Posts: 9
    • View Profile
Follow up question. My render times feel extremely slow. Is it normal for corona to take about an hour to reach a 3% noise level at 1080p? My scene only consists of the car and a ground/wall plane, and I'm rocking a 7950x.

2023-10-16, 10:14:01
Reply #9

Beanzvision

  • Corona Team
  • Active Users
  • ****
  • Posts: 3873
  • Bengamin
    • View Profile
    • Cormats
Follow up question. My render times feel extremely slow. Is it normal for corona to take about an hour to reach a 3% noise level at 1080p? My scene only consists of the car and a ground/wall plane, and I'm rocking a 7950x.
I ran my normal map through Shadermap4 and converted it to a ''real'' normal map. Looks much better now IMO. :) The first one wasn't working too well. As for the render time, It does seem normal but it's hard to say without testing the scene. In this example it is 3456 x 1472px with a noise level limit of 4%. Render time was 1hr 30mins (mainly because of the displacement) on a AMD Ryzen 7 2700 Eight-Core Processor 3.20 GHz, GeForce GTX 1050 Ti. But without displacement, it was 6mins.



« Last Edit: 2023-10-18, 07:51:41 by Beanzvision »
Bengamin Jerrems l
Portfolio l Click me!

2023-10-18, 03:32:35
Reply #10

realYuri

  • Active Users
  • **
  • Posts: 9
    • View Profile
Oh okay, Just not used to the render times haha. Coming from octane with a 4090