#1
|
|||
|
|||
Possible to Unapply a shader?
Is it possible to unapply a shader after one has been bound to the object?
I don't see anything in the documentation about it, and passing in viz.OFF or similar values doesn't work ( kinda like how viz.OFF with <node3d>.texture removes it ) ~George |
#2
|
|||
|
|||
You can clear a shader from a specific node using:
Code:
node.clearAttribute(viz.ATTR_SHADER) Code:
shader.unapply() |
Tags |
shader, unapply |
Thread Tools | |
Display Modes | Rate This Thread |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Texture Coordinate Generation (TexGen) using Shader | goro | Vizard | 1 | 05-31-2013 01:44 AM |
Vizard Headlight in Shader | shivanangel | Vizard | 1 | 06-27-2012 01:19 PM |
SSAO Shader Implementation | FranciscoPeters | Vizard | 2 | 10-08-2011 04:19 AM |
Multiple Textures for Diffuse and Specularity Shader Issue | shivanangel | Vizard | 1 | 05-11-2009 10:44 AM |
Specular Shader Issue | shivanangel | Vizard | 2 | 05-06-2009 11:08 AM |