![]() |
|
#9
|
|||
|
|||
|
I have further questions. Is there a way in Vizard to retrieve a normal buffer? I can get a depth buffer for post-process effects (vizpp_InputDepthTex), but what I need is a texture with the object's/fragment's normals.
How do I do that? Another question: The help states that the osg_ViewMatrix is available to all shaders used with vizard. Can someone please tell me, how I would get the current view position and the view direction from that matrix? Thanks! |
| Tags |
| glsl, rendering, shader, shading |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Updating a Postprocessing effect | MissingAFew | Vizard | 2 | 05-07-2015 09:58 AM |
| Adding custom faces | mjabon | Vizard | 2 | 04-01-2009 08:34 PM |
| How do I add custom functions to a custom plugin? | reedev | Plug-in development | 7 | 02-01-2009 03:39 AM |
| animating custom faces: in search of "open_mouth" morphs | vr_boyko | Vizard | 1 | 09-16-2004 10:30 AM |
| Creating Custom Avatar Heads | farshizzo | Vizard | 22 | 09-12-2004 09:23 PM |