nested shaders - find the path to a specific



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 01/09/2010 at 04:07, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   11 
    Platform:   Windows  ;   
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    hi,

    I'm looking for a way to manipulate U- and V-scaling of a tiles-shader nested inside a layer shader which is housed by diffuse-color-texture-channel of a vray-material.
    I came as far as:
    base_material#VRAYMATERIAL_COLOR_SHADER#SLA_LAYER_BLEND:10440
    which manipulates the blending inside layer-shader. But how do I get from here to color of colour- and accordingly U-/V-scaling of tiles-shader ??
    pls excuse my english, here's a picture of how its all combined, I hope you understand what I need to know

    thanx for reading



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 01/09/2010 at 08:11, xxxxxxxx wrote:

    Found way around layer-shader by using fusion-shader which gives me what I need to realize my script :)
    thanx anyway



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 02/09/2010 at 03:51, xxxxxxxx wrote:

    if you want to manipulate the tiling within a Layer Shader you have to add a Transform effect layer first. Then you can change the subchannels of the Layer Shader (like you tried to).

    Something lke this. Assign a vector value to the Scale vector field.

      
    shader#SLA_LAYER_BLEND:10123 = vector(2,2,2)  
    

    cheers,
    Matthias



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 03/09/2010 at 08:23, xxxxxxxx wrote:

    impressive, thats a very clever idea to approach the problem.
    I felt comfortable with the fusion shader but your idea opens a whole range of possibilities, thanx a lot for sharing it :)


Log in to reply