shader
Is there a way to do hardware accelerated per-pixel or pixel shader operations on an image (using Drawing.Image) in C#?
开发者_如何学JAVAThe goal is to do hardware accelerated brightness, contrast, or RGB color adjustments to an image. Using C# and storing the result in a Drawing.Image.[详细]
2023-03-21 17:25 分类:问答High precision output from a GLES2 shader
I\'m doing some GPGPU stuff on a GLES2 platform that supports maximum RGBA8 render targets (iOS). I need to o开发者_开发知识库utput a vec2 in the range +/- 2.0 with as much precision as I can get, so[详细]
2023-03-19 23:41 分类:问答per-fragment lighting coordinate system
I\'m developing an OpenGL 2.1 application using shaders and I\'m having a problem with my per-fragment lighting. The lighting is correct when my scene initial loads, but as I navigate around the scene[详细]
2023-03-19 14:52 分类:问答Getting the true z value from the depth buffer
Sampling from a depth buffer in a shader returns values between 0 and 1, as ex开发者_高级运维pected.[详细]
2023-03-19 04:43 分类:问答Efficient Random Texture Sampling in OpenGL ES 2.0 [closed]
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably ans开发者_C百科wered in its current form. Fo[详细]
2023-03-18 17:26 分类:问答What's wrong with this shader for a centered zooming effect in Orthographic projection?
I\'ve created a basic orthographic shader that displays sprites from textures.It works great. I\'ve added a \"zoom\" factor to it to allow the sprite to scale to become larger or smaller. Assuming th[详细]
2023-03-18 08:36 分类:问答Texture coordinates for dynamic terrain - OpenGL
Can someone please describe a common technique used to calculate texture coordinates for a terrain that dynamically changes every frame? I have a perlin noise function implemented in a vertex shader a[详细]
2023-03-17 20:02 分类:问答HLSL geometry shader texture look up
I\'m trying to implement marching cube algorythm in my geometry shader. So i place my datagrid into a Texture3D. Now i want to look up the data in the geometry shader and this trows an error \"cannot[详细]
2023-03-16 23:03 分类:问答Unexplainable behavior when using uniform sampler2d[]
I\'m sorry but this will require a little bit of explanation. I\'m trying to make it as simple as possible.[详细]
2023-03-16 07:01 分类:问答Per-Vertex Normals from perlin noise?
I\'m generating terrain in Opengl geometry shader and am having trouble calculating normals for lighting. I\'m generating the terrain dynamically each frame with a perlin noise function implemented in[详细]
2023-03-16 01:09 分类:问答