Fix directional lights for AMD
Some AMD drivers do not like triangles for point sprites, which breaks directional lights. This works around this by allowing users to set /rendering/triangle-directional-lights=false which falls back to the non-directional implementation of a point.
This commit is contained in:
parent
c6e5244b13
commit
8b6d523983
1 changed files with 1 additions and 0 deletions
|
@ -190,6 +190,7 @@ Started September 2000 by David Megginson, david@megginson.com
|
||||||
<building-density type="double" userarchive="y">1.0</building-density>
|
<building-density type="double" userarchive="y">1.0</building-density>
|
||||||
<horizon-effect type="bool" userarchive="y">false</horizon-effect>
|
<horizon-effect type="bool" userarchive="y">false</horizon-effect>
|
||||||
<point-sprites type="bool" userarchive="y">true</point-sprites>
|
<point-sprites type="bool" userarchive="y">true</point-sprites>
|
||||||
|
<triangle-directional-lights type="bool" userarchive="y">true</triangle-directional-lights>
|
||||||
<enhanced-lighting type="bool" userarchive="y">false</enhanced-lighting>
|
<enhanced-lighting type="bool" userarchive="y">false</enhanced-lighting>
|
||||||
<distance-attenuation type="bool" userarchive="y">false</distance-attenuation>
|
<distance-attenuation type="bool" userarchive="y">false</distance-attenuation>
|
||||||
<particles type="bool" userarchive="y">true</particles>
|
<particles type="bool" userarchive="y">true</particles>
|
||||||
|
|
Loading…
Reference in a new issue