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

    Remapping textures in non-diffuse channels

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 320 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 25/01/2018 at 04:03, xxxxxxxx wrote:

      Hi everyone,

      how would one do this in between version R16 and R17 since the method "GetAllReflectionShaders()" is only available from R17.032 on?

      For versions prior R16 you can of course use [MATERIAL_REFLECTION_SHADER] but this has gone in R16 due to reflectance. So is one lost in between R16 and R17.032 when it comes to retrieving shaders loaded in a shader slot in reflectance channel?

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

        On 26/01/2018 at 02:55, xxxxxxxx wrote:

        Hello,

        I'm afraid back in R16 no proper Python API existed to access reflectance layer settings.

        So the only way to get the shaders would be somewhat of a hack. You could try to get a shader that is used in the material and then run over the whole shader tree. But this would obviously fail if there is no other shader outside the reflectance channel.

        best wishes,
        Sebastian

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