#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 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Texture Coordinate Generation (TexGen) using Shader | goro | Vizard | 1 | 05-31-2013 02:44 AM |
Vizard Headlight in Shader | shivanangel | Vizard | 1 | 06-27-2012 02:19 PM |
SSAO Shader Implementation | FranciscoPeters | Vizard | 2 | 10-08-2011 05:19 AM |
Multiple Textures for Diffuse and Specularity Shader Issue | shivanangel | Vizard | 1 | 05-11-2009 11:44 AM |
Specular Shader Issue | shivanangel | Vizard | 2 | 05-06-2009 12:08 PM |