Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6822

Can GLSL extensions be enabled in effects?

$
0
0

@atomgott wrote:

When trying to run my game on android, I tried to use ddx/ddy to compute the normal of 2D Perlin Noise. They calculate the gradient of a variable across a fragment. The central difference method I used on other platforms doesn't look good because OpenGL ES 2.0 doesn't support floating point textures. ddx and ddy translate to dFdx/dFdy and are only supported on GL ES 2.0 with the extension GL_OES_standard_derivatives. To enable an extension one has to use the GLSL preprocessor directive #extension.
Is it currently possible to use GLSL extensions in Monogame?

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6822

Trending Articles