Forum

#1 2016-06-01 13:26:48

pitiwazou
Member

Custom shaders

Hi guys,

I wondering if on guerilla we could make some custom shaders like we can do in substance designer, painter etc with osl or else.

Having the possibility to create shaders with scratched borders like this.

https://www.allegorithmic.com/sites/default/files/dynamic_material_blending_materials.jpg
http://u.cubeupload.com/khatake/HG5Eoj.png

Use procedurals to mix 2 shaders or to add scratches, dirt etc.

http://1.bp.blogspot.com/-cclbU82YceE/VdY9_tadFuI/AAAAAAABbVg/Qe0ScAnkh5g/s1600/Screen%2BShot%2B2015-08-20%2Bat%2B4.50.52%2BPM.png

Create a custom shader who allow us to add this kind of details on simple shaders whithout having to add maps, nodes etc.

Also a bevel shader.

https://s1.qwant.com/thumbr/?u=http%3A%2F%2Fwiki.blender.org%2Fuploads%2Fb%2Fb3%2FManual-PartII-Bevel-Cubes.jpg


I think that could be really usefull.


The member to blame ! ^^
C├ędric Lepiller, Freelance 3D
http://www.pitiwazou.com/

Offline

 

#2 2016-06-01 17:41:47

mathieurey
Member

Re: Custom shaders

+1
It could same us a huge amount of time !

Offline

 

#3 2016-06-02 18:34:30

Narann
Member

Re: Custom shaders

IIRC, bevel is possible using "BevelNormal" sub shader.

I suppose it works using hard edges.

The problem of having procedural detecting borders "at render time" (aka: per sample) is process time. It can be very expensive, that's why it's always faster to have this on a texture. It's not simply about getting geometry edges but computing surface curvatures.

But yes, having a subshader for this can be interesting if you are ready to waste render time for this. The other interesting usage could be to use Guerilla to bake textures.

Not really related to your request but for information: If you drag and drop a shader parameter in the browser you can create and blend many sub shaders (and you increase render times of course).

Offline

 

#4 2016-06-03 00:34:00

Gam
Member

Re: Custom shaders

With occlusion, normals and noise you are able to manage a lot of procedural texture, but only for static asset.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB