glsl
Most efficient method for GLSL edge detection shader
I\'m looking for a quick and dirty, very efficient edge detection shader or edge mesh for a video application. Since this will be done on a mobile device, I need something that places performance over[详细]
2023-03-01 12:06 分类:问答How can I do these image processing tasks using OpenGL ES 2.0 shaders?
How can I per开发者_Go百科form the following image processing tasks using OpenGL ES 2.0 shaders?[详细]
2023-03-01 07:04 分类:问答Updating information from the vertex shader
In the vertex shader program of a WebGL application, I am doing the 开发者_JAVA技巧following: Calculate gl_Position P using a function f(t) that varies in time.[详细]
2023-03-01 03:32 分类:问答How to write/prevent writing to OpenGL depth buffer in GLSL
I want to write to the OpenGL depth buffer only if the current pixel has an alpha > 0.5 how to do that?[详细]
2023-03-01 00:46 分类:问答GLSL, adding a single line makes nothing draw
I have the following GLSL vertex shader: attribute vec3 开发者_运维百科a_vTangent; attribute vec3 a_vBinormal;[详细]
2023-02-28 20:24 分类:问答Is there a better way than writing several different versions of your GLSL shaders for compatibility sake?
I\'m starting to play with OpenGL and I\'d like to avoid the fixed functions as much as possible as the trend seems to be away from them.However, my graphics card is old and only supports up to OpenGL[详细]
2023-02-28 14:52 分类:问答performance on GLSL "for" instruction
Hi I\'m doing fractal work using GLSL, and I need to use the \"for\" instruction. Is is better (performance-w开发者_如何学Cise) to do a for instruction n times, or to redirect the ouput of the shader[详细]
2023-02-28 14:06 分类:问答Are there any non-mobile graphics cards that don't support "precision highp float"?
I know it is common for mobile phones to not support \'precision highp float\' in fragment shaders, but are there any desktop or laptop GPUs that don\'t support it?In other words, if I\'m only writing[详细]
2023-02-28 12:30 分类:问答glUseProgramObjectARB invalid operation error
I\'m getting an \"invalid operation\" error when trying to use glUseProgramObjectARB and I have no idea why.[详细]
2023-02-28 09:16 分类:问答GLSL normals with non-standard projection matrix
After a few days of getting my GLSL vertex shader to display the vertices correctly, I\'ve now moved onto lighting! My understanding of openGL lighting/normals isn\'t great by any stretch of the imagi[详细]
2023-02-27 05:24 分类:问答