Getting Layershader and subshaders
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/03/2005 at 12:27, xxxxxxxx wrote:
huh, thats really hard to figure out. That's how far i've come:
m_shad->GetDescription(desc,0);
BaseContainer *bc = desc->GetParameterI(DESCID_ROOT,NULL);but then, how do i get the infos? there is this IDS_SLA_LAYER, ...?
Or are there any documents that could help me?thanks,
affa
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/03/2005 at 00:40, xxxxxxxx wrote:
I don't get it... can anyone help me?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/03/2005 at 06:22, xxxxxxxx wrote:
Within an XSLAFusion shader you will be able to get the sub-shaders through the SHADERLINKs in the res-file. Unfortunately for XSLALayer there's just a single big SLA_BLEND, which is a private structure. So fusion yes, layer no, afaict.
Getting the fusion sub-shaders should be a simple material->GetChannel(CHANNEL_COLOR)->GetShader()->GetParameter(SLA_FUSION_BLEND_CHANNEL, link, 0) operation. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/03/2005 at 06:26, xxxxxxxx wrote:
thanks very much for your answer.
So there is no way to get Infos out of the Layer-Shader? That would be bad
Thats nearly the whole purpose of my plugin, d'oh -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/03/2005 at 06:48, xxxxxxxx wrote:
Have you tried getting the layer shader and then browse through it with layershader->GetDown(); and then GetNext()? Not sure if this works, but worth a try.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/03/2005 at 07:30, xxxxxxxx wrote:
indeed, it works that way :-)))
Thanks very much Samir
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/03/2005 at 07:33, xxxxxxxx wrote:
you´re welcome.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/03/2005 at 09:47, xxxxxxxx wrote:
You're right, that will work to get the actual sub-shaders. However, I double checked with the develoepers and there's no way to access the actual SLA_BLEND structure. So you won't be able to access the blend parameters for the layers etc.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 10/03/2005 at 09:50, xxxxxxxx wrote:
hmm, ok thanks. the blend parameters whould also have been nice, but subshaders is a good start
I'll post the plugin here when i finished it -
On 10/08/2014 at 17:38, xxxxxxxx wrote:
Old thread revive - I take it that it is still not possible to access the layer shader properly?
-
On 10/08/2014 at 23:10, xxxxxxxx wrote:
Check this out: <[URL-REMOVED]>
[URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.
-
On 11/08/2014 at 00:52, xxxxxxxx wrote:
Huh! Well i`ll be damned..
Weird how they`ve included LayerShader in the docs and no mention of Fusion for example ( at least from what i can see ) even though fusion is accessible..
Cheers Niklas.
-
On 11/08/2014 at 07:27, xxxxxxxx wrote:
The word "properly" can mean different things to different people.
AFAIK. We still cannot insert or remove shaders from the Layer Shader. And I don't think Maxon intends on fixing that in any future releases.Therefore.
It's my own personal opinion that we do not have "proper" access to it. And never will.-ScottA