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

    LayerShader insert

    Scheduled Pinned Locked Moved PYTHON Development
    5 Posts 0 Posters 590 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

      On 17/06/2017 at 14:35, xxxxxxxx wrote:

      Hello!

      Sorry for my basic question, but i don't understand working with LayerShader or LayerShaderLayer:
      How do i add a shader (after an existing) to a LayerShader-List?
      Attempts with InsertUnder or InsertAfter failed.
      Has anyone a helpful code-snipped for me?

      Grateful for any help,
      Cheers,
      Mark.

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

        On 19/06/2017 at 08:01, xxxxxxxx wrote:

        Hi Mark,

        unfortunately I have no good news, it's still not possible to add shaders to the layer shader.

        The topic got discussed before for example here: Layer Shader Layers

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

          On 28/06/2017 at 12:42, xxxxxxxx wrote:

          Hi Andreas,
          it's getting frustrating 😕
          Are you working on implementing such functions to Python (in the near future - linked topic is 1.5 years old) or is there no other way than C++?
          Cheers,
          Mark.

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

            On 29/06/2017 at 09:55, xxxxxxxx wrote:

            Hi Mark,

            I understand your frustration, unfortunately there's very little I can do about it at the moment. And actually it's even worse as you can't even add shaders to the layer shader with the C++ API.
            At least I have created a feature request in our issue tracker.

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

              On 10/07/2017 at 11:50, xxxxxxxx wrote:

              Hi Andreas!
              Thank you for your answer and the request in the issue tracker!
              It seems i have a knack for finding API gaps... 😉
              Cheers,
              Mark.

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