m
confirmed returning of nil when card doesn't support shaders
({{widgetmethod}}) |
m (confirmed returning of nil when card doesn't support shaders) |
||
| Line 16: | Line 16: | ||
; shaderSupported | ; shaderSupported | ||
returns nil if desaturation isn't supported by the user's graphics card (ie. old GeForce4 cards don't). One can use texture:SetVertexColor instead in this case. See the example below for the way Blizzard handles this. | |||
---- | ---- | ||