Jump to content
YouGroove

Contribution : metal shader for LE3

Recommended Posts

Thanks smile.png

 

Last shader version with colored reflections now

shader_V10.jpg

 

bloom.jpg

 

PBR workflow : 3D Coat exemple

 

1) Painting PBR in practice for LE3 use :

- When painting metal parts : always keep Roughtness fully specular and make vary only metallic from 0 to 100% to control how much metallic the part will look.

Otherwise you will mislead what is strong specular and what is strong metallic for LE3 Shader ; as they that have similar look in PBR renderers laugh.png , but not the same look in LE3 shader.

 

2) Once exported your maps : Invert Roughness map colors in a painting program , it will be used as specular map in LE3 shader

 

3) Choose these texture for LE3 shader :

- diffuse = diffuse map

- normal map = normal map

- specular = inverted roughness map

- metal = metalness map

- environment map = skycube map

 

You can now make cars , machinery, robots and weapons with metallic look in LE3.

 

 

I called it PBR effect , you can find it in downloads section

http://www.leadwerks.com/werkspace/files/file/578-pbr-shader-effect/

 

 

Some shader code :

//Reflection power : 7
outcolor = mix( outcolor , ( texture(texture4,cubecoord) * outcolor * 7 ) ,color_metalness )	 ;
//Color correction : 0.07
outcolor = ((outcolor + 0.07) * (1-color_specular ) ) ;

Share this post


Link to post

They are in the workshop smile.png

 

That's strange browsing the workshop i don't see it ?

But looking at files i published i see it.

Share this post


Link to post

They are in the workshop smile.png

 

That's strange browsing the workshop i don't see it ?

But looking at files i published i see it.

 

I don't see them either.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...