Jump to content

Colorization problem when hosting onto WPF


photo

Recommended Posts

Recently I tried to integrate Unigine 2.2.1-2 to WPF app. I hosted Winforms control (based on D3D11 embedding sample) to WPF window.

While playing I found shadows too contrast in WPF app

post-2224-0-96600500-1466506841_thumb.png

 

but not in winforms one

post-2224-0-89577200-1466506840_thumb.png

 

Any ideas?

Link to comment

Hi Maksim,

 

Thank you for the test scene!

 

Unfortunately, we can't reproduce the same issue on our test stand. We've tried Windows 10 and Windows 7 with the latest updates and .NET Framework 4.5 / 4. Render is always the same in both applications (please, check the attached pictures).

 

Maybe there is some issue with GPU driver - have you tried to upgrade it to the latest version? Or some interconnection issues between WPF and WinForms. Have you tried to draw some WPF controls to see if they will be darken too?

 

Thanks!

 

Winforms.png WPF.png

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment

silent,

 

Thanks for your answer.

I made an additional check and found that winforms test using nVidia card, while WPF test running on intel HD 530 (I have 2 video cards).
So when I made launch with nVidia card - both tests work great. On intel card - I have that shaders-issue for both tests.

 

But Intel video is Skylake arch (OpenGL 4.4, DX 12, HLSL 5.1) so I'm a bit confused, cause it mets Hardware Requirements

Link to comment
×
×
  • Create New...