<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br><div>

<style><!--
.ExternalClass .ecxhmmessage P {
padding:0px;
}

.ExternalClass body.ecxhmmessage {
font-size:12pt;
font-family:Calibri;
}

--></style>
<div dir="ltr">I downloaded swat4 demo.<br><br>It has too dark swats and shadows. <br><br><br><a href="http://bugs.winehq.org/show_bug.cgi?id=8848" target="_blank">http://bugs.winehq.org/show_bug.cgi?id=8848</a>  (which is reported here too also with demo)<br><br><br>I think I figured out what is causing it. <br><br>I noticed that setting windows registerykey useGLSL=disabled made swats look like normal (see my sent pics).<br><br><br>I debuged the game and there wasn't many different lines.<br><br>fixme:exec:SHELL_execute flags ignored: 0x00000100<br>fixme:process:GetProcessWorkingSetSize (0xffffffff,0x33eac4,0x33eac0): stub<br>fixme:win:EnumDisplayDevicesW ((null),0,0x33ed48,0x00000000), stub!<br>fixme:wbemprox:client_security_SetBlanket 0x7cf14558, 0x1396f0, 10, 0, (null), 3, 3, (nil), 0x00000000<br>fixme:wbemprox:client_security_Release 0x7cf14558<br>fixme:wbemprox:wbem_services_CreateInstanceEnum unsupported flags 0x00000030<br>fixme:win:EnumDisplayDevicesW ((null),0,0x33ec68,0x00000000), stub!<br>fixme:win:EnumDisplayDevicesW ((null),0,0x33ef58,0x00000000), stub!<br>fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)<br>fixme:win:EnumDisplayDevicesW ((null),0,0x33ca58,0x00000000), stub!<br>fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.<br>fixme:d3d:wined3d_swapchain_set_gamma_ramp Ignoring flags 0x1.<br><br><br>etc etc<br><br>But I think wine is missing the next feature, what's causing the black shadows<br><br><a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb173461%28v=vs.85%29.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/windows/desktop/bb173461%28v=vs.85%29.aspx</a><br><br>"You can include the D3DSGR_CALIBRATE value for the first parameter of <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/bb174434%28v=vs.85%29.aspx" target="_blank"><strong>SetGammaRamp</strong></a>", well its definitely trying to set gamma, but it's IGNORED. <br><br>Here are the pics, before and setting that useGLSL registery key<br><br><a href="http://postimg.org/image/kxct6863j/" target="_blank">http://postimg.org/image/kxct6863j/</a><br><a href="http://postimg.org/image/n48bm1dk9/" target="_blank">http://postimg.org/image/n48bm1dk9/</a><br><br>But setting that registery key dosn't help on shadows which are too dark.<br><br><br>According to my knowledge reading some part of that Microsoft explanation making this setgammaramp function shoulnt be too hard, it just adjust the amount of RGB.<br><br>                                       </div></div>                                        </div></body>
</html>