ShaderData preview is washed out in Material UI

On 28/06/2018 at 07:16, xxxxxxxx wrote:

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


I have created a ShaderData plugin in which I use Output method to fill the preview.
The problem is that the shader preview appears very washed out in the Material UI.
In ShaderData plugin, the preview appears correctly because I have disabled Linear Workflow option from Project Settings, otherwise it's exactly the same.
How can I make the shader preview appeared correctly inside the Material UI as well. Is tehre any filter that I can disable via code ?

Thank you.