Message 1 of 1
GLSL shader with mat4 input?

Not applicable
04-13-2017
03:04 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Using Maya 2017...
If I create a GLSL shader that uses a mat4 parameter the param neither shows up in the node editor as an input nor can I connect to it using "connectAttr." Anyone know how to make this work? The built-in light shadow map matrix works but you cannot connect directly to it... only by using light binding.
Barring any solid documentation of this capability, is the source for the glslShader.mll plugin available somewhere so I can inspect and/or modify its behavior?
Here's how I declared my param:
uniform mat4 matRob <
string UIGroup = "mystuff";
string UIName = "rob matrix param";
>;