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

    Specular on OGL texture

    SDK Help
    0
    4
    404
    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
      Helper
      last edited by

      On 02/09/2016 at 15:16, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R16+ 
      Platform:   Windows  ;   Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Hi All,

      there is a way to have a working Specular on the OGL preview for the Materials?
      Of course, i'm talking about a custom Material. 🙂

      thanks in advance
      Renato T.

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

        On 05/09/2016 at 02:10, xxxxxxxx wrote:

        Hi Maxon Support,

        I have another question and the answer can help us to have a better OpenGL preview of Glass Materials.

        There is a way to enable the dithering, as we can see in the OpenGL Preview of C4d materials?

        Thanks in advance
        Renato

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

          On 05/09/2016 at 07:46, xxxxxxxx wrote:

          Hi Renato,

          unfortunately no good news for you.
          There are basically two ways to influence the preview shown for a custom material.
          One is the MaterialData::InitGlImage() function you probably already know about. But this obviously doesn't help you with your specular.
          The other way is using GLSL and completely doing this on your own. Unfortunately this is completely undocumented territory, and we can not provide any support on this topic. Sorry.

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

            On 05/09/2016 at 11:27, xxxxxxxx wrote:

            Hi Andreas,

            many thanks for the infos.

            Best Regards
            Renato T.

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