mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
ESSL: always enable standard derivative functionality (dFdx, dFdy, fwidth) when available. Added 'shaderderivatives' graphics feature enum.
--HG-- branch : minor
This commit is contained in:
@@ -62,6 +62,9 @@ GLSL.SYNTAX = [[
|
||||
#ifdef GL_OES_texture_3D
|
||||
#extension GL_OES_texture_3D : enable
|
||||
#endif
|
||||
#ifdef GL_OES_standard_derivatives
|
||||
#extension GL_OES_standard_derivatives : enable
|
||||
#endif
|
||||
]]
|
||||
|
||||
-- Uniforms shared by the vertex and pixel shader stages.
|
||||
|
||||
Reference in New Issue
Block a user