[1/5] WineD3D: Use 0/0/0 as normal if no normal is supplied (try 2)

Stefan Dösinger stefan at codeweavers.com
Wed Aug 29 13:29:14 CDT 2007


Turns off normals normalization if no normals are supplied to avoid divisions 
by zero. In the lighting equation, the vertex normal is only used in a dot 
product which will return 0 and remove the diffuse lighting effect, which is 
what we intend.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-WineD3D-Use-0-0-0-as-normal-if-no-normal-is-supplie.patch
Type: text/x-diff
Size: 3290 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070829/0f9c1d6f/0001-WineD3D-Use-0-0-0-as-normal-if-no-normal-is-supplie-0001.bin


More information about the wine-patches mailing list