PhyShader

   7879   14   5
User Avatar
Member
7 posts
Joined: March 2013
Offline
Hi.

I wrote a physical-based shader for Mantra.

The main features:
* Energy conserving
* Microfacet-based BSDF's including anisotropy
* Conductor Fresnel
* Volume absorption
* Subsurface scattering
* Translucency
* Dispersion
* Thin dielectric
* Transparent shadows attenuated by absorption
* Shader nesting
* Extra image planes support including per-light planes

Video: https://vimeo.com/116465165 [vimeo.com]
Download: https://github.com/groundflyer/physhader-for-mantra [github.com]

Attachments:
materials.jpg (56.0 KB)

User Avatar
Member
691 posts
Joined: June 2006
Offline
Awesome!! Thank you!
Feel The Knowledge, Kiss The Goat!!!
http://www.linkedin.com/in/alejandroecheverry [linkedin.com]
http://vimeo.com/lordpazuzu/videos [vimeo.com]
User Avatar
Member
948 posts
Joined: April 2008
Offline
F%$#@ing awesome!

Thanks dude!
https://vimeo.com/user2163076 [vimeo.com]
User Avatar
Member
96 posts
Joined: May 2008
Offline
Looking good!
User Avatar
Member
1104 posts
Joined: Aug. 2008
Offline
Perfecto !
/M

Personal Houdini test videos, http://vimeo.com/magnusl3d/ [vimeo.com]
User Avatar
Member
636 posts
Joined: June 2006
Offline
nice work…. congratulation for your effort looks rely nice…
User Avatar
Staff
4159 posts
Joined: Sept. 2007
Offline
Wonderful! Thanks for sharing!
I'm o.d.d.
User Avatar
Member
85 posts
Joined: Aug. 2010
Offline
this shader is fantastic! Having agret atime

one minor issue I have found is that the prefabs from the gallery are non commercial so they taint your hipfile beware

otherwise fantastic stuff!
Sam Swift-Glasman
Art Director
Five AI
User Avatar
Member
1 posts
Joined: July 2013
Offline
Very generous, thank you.
Waiting for your Wiki. :wink:
User Avatar
Member
129 posts
Joined: Jan. 2013
Offline
thank you
User Avatar
Member
7 posts
Joined: March 2013
Offline
I've recently switched on H15, so there is a minor update.

PhyShader v1.1.0 - Download [github.com]:
* various bugfixes
* improved PhySurface material
* PhySurface UI change: separated IOR
** inside IOR is now vector2 (n, k)
** outside IOR is now standalone float parameter
* PhyVolume is now a full part of PhyShader:
** per-light exports support (in the “volume_direct” variable)
** fixed anisotropic volume BSDF sampling
** added scattering color coefficient
** added absorption color coefficient
* physhader.otl is renamed to physhader.hda

An example of color scattering:
https://vimeo.com/160500991 [vimeo.com]

Attachments:
out.0158.jpg (60.5 KB)

User Avatar
Member
37 posts
Joined: Sept. 2010
Offline
thank you !
http://www.papicrunch.net/GC-houdb/ [papicrunch.net]
User Avatar
Member
1265 posts
Joined: March 2014
Offline
Thanks. This looks great.

Does it come with presets to see what the settings does?
Werner Ziemerink
Head of 3D
www.luma.co.za
User Avatar
Member
1265 posts
Joined: March 2014
Offline
Maybe I'm not fully understanding this shader, but Specular roughness is on or off. The slider does not give me variation.

Is this a bug?

EDIT: Ok, I think I'm slowly getting this… ops:
Werner Ziemerink
Head of 3D
www.luma.co.za
User Avatar
Member
7 posts
Joined: March 2013
Offline
Hi.
I've just released a major update: v1.2.0 [github.com].
There are many useful changes in this release.
  • The two old GGX CVEX BSDF's (reflect and refract) have rewritten to the one GTR BSDF with better sampling (distribution of visible normals by Eric Heitz). It's used in PhySurface and available as a separate VOP type operator.
  • Multiple subsurface scattering has completely rewritten. I discarded the complicated dipole BSSRDF in the preference of the approximated reflectance profile by Per Christensen. The new SSS is also available as a separate VOP.
  • PhyShader materials are really usable now. There are two new materials: PhySurface Layered material and PhySurface Nested material. PhySurface material has improved and fixed. The materials now have OpenGL parameters linked to corresponding PhySurface parameters, improving viewport experience.
  • Several UI changes such as IOR presets menu and dispersion presets menu.
  • Dispersion is brighter now.
  • Faux metallic nk-based dispersion. If dispersion is enabled in Conductor mode, reflection color will be desaturated through complex Fresnel curve.
  • Most bugs (I hope all) are fixed

A video showing usage of new PhySurface Nested material (Mantra Ray-Trace engine).


If you have a question, it's better to ask it on odforce in PhyShader thread [forums.odforce.net] or open issue on github [github.com]. I'm not a frequenter here.
  • Quick Links