glsl
How to test shaders again different version of shaders model
I have many OpenGl shaders. We try to use as many different hardware as possible to evaluate the portability of our product. One of our customer recently ran into some rendering issues it seems that t[详细]
2023-03-22 23:31 分类:问答How can a fragment shader use the color values of the previously rendered frame?
I am learning to use shaders in OpenGL ES. As an example: Here\'s my playground fragment shader which takes the current video frame and makes it grayscale:[详细]
2023-03-22 14:01 分类:问答Why won't this GLSL Vertex Shader compile?
I\'m writing my own shader with OpenGL, and I am stumped why this shader won\'t compile. Could anyone else have a look at it?[详细]
2023-03-21 23:10 分类:问答OpenGL - Frame Buffer Depth Texture differs from Color Depth Texture
I\'m doing shadow mapping in OpenGL - as such I\'ve created a frame buffer object where I render the depth of the scene from the view of a light.[详细]
2023-03-21 15:49 分类:问答Where can I find documentation on the OpenGL shader function texture2DRect()?
I\'m normally a self-sufficient Googler, but I can\'t find any documentation on the OpenGL shader function texture2DRect().Has anyone come across this before?[详细]
2023-03-20 22:26 分类:问答Memory error in OpenGL-es 2.0 code
I have written a code in OpenGL-ES 2.0 with PVRSDK in Ubuntu 10.10 , now the thing is that whatever output I want , I am getting that but it comes and then the window disappears ,[详细]
2023-03-19 19:48 分类:问答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 分类:问答OpenGL shader cant bind attribute
i\'ve got three glsl attributes in my vertex shader attribute highpvec4Position; attribute mediump vec4UV;[详细]
2023-03-19 12:58 分类:问答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 分类:问答