Specular on OGL texture

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.

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

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.

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

Hi Andreas,

many thanks for the infos.

Best Regards
Renato T.