
cglSurfaceCarPaint is an advanced, highly customizable, car-paint OSL shader, we’re offering for free.
Download cglSurfaceCarPaint here
cglSurfaceCarPaint combines 3 layers:
Base: A blend of diffuse/metallic shading with a view-angle color mix
Metallic flakes: Distance blended procedural metallic flakes
Clear coat: Glossy clear coat layer with built-in procedural bump irregularity
As an OSL shader, cglSurfaceCarPaint should be working with any renderer supporting OSL closure functions (BSDF’s).
It has been tested to work as expected in the following renderers:
> Cycles for Blender (CPU)
> Arnold 6 for Maya (CPU)
> V-Ray Next for 3ds max (CPU)
> If your not familiar with the subject of OSL shaders, you can learn the basics here.
Maya and Arnold:
* Centimetres system units
3ds max and V-Ray:
* centimetres system units
* vray_compatible is set to 1 to force roughness consistency with other systems
Getting started:
- Its recommended to reset your model’s scale 1.0 (100%)
(i.e apply scale / freeze Transformations / reset xform etc.) - Set the system_scale_unit parameter to a 1 meter based value of your scene’s system scale unit ratio
(i.e a value of 0.01 if you use centimetre system units)
* See the examples above - If your rendering with V-Ray, set the vray_compatible parameter to 1.
(this will force consistent rendered result for roughness the values)
cglSurfaceCarPaint parameters:
Base layer parameters:
base_layer_weight
The base layer overall mix weight
base_color_facing
The base layer facing color
base_color_side
The base layer side color
base_color_blend_curve
The base layer color blend curve power (1 = linear)
base_metallic
The metallic mix weight of the base layer
base_dielectric_ior
Base layer dielectric ior (also serves as metallic grasing angle reflection blend)
base_layer_roughness
The base layer metallic and specular roughness
Metallic flakes layer parameters:
metallic_flakes_weight
Metallic flakes overall mix weight
metallic_flakes_color
Metallic flakes color
metallic_flakes_density
Metallic flakes pattern density
metallic_flakes_size
Metallic flakes individual size (independent of pattern density)
metallic_flakes_roughness
Metallic flakes metallic roughness
metallic_flakes_direction_spread
The amount at which the metallic flakes deviate from the original surface normal direction
metallic_flakes_distance_fade
Distance at which the metallic flakes fade completely
metallic_flakes_distance_full
Distance at which the metallic flakes are fully visible
Clear-coat layer parameters:
clear_coat_weight
Clear coat layer weight
clear_coat_ior
The dielectric Refractive Index of clear coat layer
clear_coat_roughness
Clear coat specular roughness
clear_coat_bump_strength
Clear coat procedural bump strength
clear_coat_bump_density
Clear coat procedural bump density
vray_compatible
Sets internal parameters for compatibility with V-Ray (should be either 0 or 1)
system_scale_unit
Meter based system units scale (scales all procedural effects)




Our advanced car-paint GPU shading pack for Cycles:
If your looking for a photo-realistic car-paint shader for Cycles, that supports GPU (Cuda) rendering, check out CG-Lion Car Paint Presets Pack 1.0 for Blender & Cycles, available for purchase on our Blender Market store.
Thanks a lot! really great material!