WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-01-2015, 09:37 AM
Vaquero Vaquero is offline
Member
 
Join Date: Nov 2015
Posts: 62
Question physically based rendering using shaders/custom effects?

Hello community!
I'm a 3D-artist and just getting startet using Vizard. One of the first things I noticed was, that vizard's 3D asset pipeline relies on "the old way" of doing things with shaders. So there's diffuse, specular etc. In an effort to get even more realistic approximations of light-surface interactions, the popular term is physically based rendering (PBR). Not, that Lambertian models, Phong or Blinn aren't also physically based somehow, but what I am referring to are keywords like "energy conservation" and "microfacets". I haven't seen any mention of PBR on the forum.

I had a quick look into the documentation on shaders and now I'm aksing: Is it possible to integrate PBR through the use of custom effects and how to do it?
Or how would one go about it, if not with custom effects? I'm not a fully qualified programmer, so I'm grasping at straws here. Ideally someone else would come up with a plug&play solution for introducing Disney's PBR model to Vizard. A lot of content creation software seems to be very compatible with the Disney PBR, that's why. Another popular one is GGX.

If you don't know what I am talking about, with a internet search you'll find lots of ressources with introductions, like this one: http://www.marmoset.co/toolbag/learn/pbr-theory.

Some pros:
  • Use less texture space. Albedo map is an rgba map, metal and roughness can be packed in another rgba map and you have 2 additional channels for whatever you want (AO, cavity, w/e)
  • Less guessing about matieral parameters (there are real world measurements and charts)
  • Works well under different lighting conditions
Reply With Quote
  #2  
Old 11-02-2015, 11:47 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,457
There is no built-in support for PBR. It would be possible to write customer shaders for this.
Reply With Quote
  #3  
Old 11-02-2015, 11:58 AM
Vaquero Vaquero is offline
Member
 
Join Date: Nov 2015
Posts: 62
Thank you for your quick reply. Unfortunately, it doesn't answer my question. I figured, there is no out-of-the-box built-in support, so my question is, how do I get there? Using custom effects and composers? Or exporting GLSL shaders completely from 3ds max?

In the documentation there's this: "The lighting model controls how the surface properties of an object interact with lights to produce shading. The default composer automatically applies a lighting model effect that uses the Lambert model for diffuse shading and the Phong model for specular reflectance." So if I don't want Lambert or Phong, but instead some PBR, I would have to use custom effects to somehow insert the PBR code into the shaders?
Since I'm just wild guessing, help is very much appreciated, if anyone has experience writing shaders for Vizard.
Reply With Quote
  #4  
Old 11-02-2015, 04:24 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,457
The effects framework may help but this an advanced topic that requires knowledge of programming in GLSL. It's not possible to export these shaders from 3ds Max.
Reply With Quote
Reply

Tags
pbr, physically based, rendering, shader

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
where can I download example scripts about force effects based on haptic device Melody Vizard 9 08-29-2014 03:15 PM


All times are GMT -7. The time now is 03:16 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC