Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Layer Shader

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 278 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

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

      On 20/09/2012 at 14:04, xxxxxxxx wrote:

      Hello all.

      I'm trying to get access to a Layer Shader.  The other shaders were easy enough:

        
      #To get the shader from the color channel  
      material[c4d.MATERIAL_COLOR_SHADER]  
      
        
      #To get the shaders from a fusion shader  
      fusion[c4d.SLA_FUSION_BLEND_CHANNEL]  
      fusion[c4d.SLA_FUSION_BASE_CHANNEL]  
      

      How would I do that for a layer shader?

      Any help would be appreciated.

      Dan

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

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

        On 20/09/2012 at 22:16, xxxxxxxx wrote:

        for c++ there's the Layer Shader Library in lib_layershader.h
        don't know if that's available in Python though

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

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

          On 21/09/2012 at 10:13, xxxxxxxx wrote:

          Bah, that sucks.  Thanks for the help though!

          Dan

          1 Reply Last reply Reply Quote 0
          • First post
            Last post