pixel-shader
How to access depth buffer in pixel shader in DirectX 9.0 c
Is it possible to access depth buffer via pixel shader 2.0 in DX 9.0c? I\'ve google\'d a bit and the only solution I\'ve found describe GPU hack that works only on GeForce 6 & 7.[详细]
2023-04-02 12:33 分类:问答Multiple Effect on the sprite
I have implement the effect and Transition using pixel shader files. When i apply effect and transition separately it working fine, but if i am applying both simultaneously it is not working. How can[详细]
2023-03-30 11:52 分类:问答View GPU Memory / View Texture2D memory space for debugging
I\'ve got a question about a PixelShader I am trying to implement, and what I currently do (this is just for debugging, and trying to figure stuff out):[详细]
2023-03-26 19:25 分类:问答Texture2D Array as Render Target in HLSL Pixel Shader
Currently I need a couple of textures\' worth of per-pixel data from my rendering pass (normals, depth and colour).[详细]
2023-03-25 09:23 分类:问答Emulating a nested loop in Pixel Bender for Flash/Flex
I have two vectors of a large, but arbitrary (v1.length need not equal v2.length), number of points, and I want to pairwise multiply them. Because this is the main bottleneck in a large loop of AS3 co[详细]
2023-03-22 20:33 分类:问答Why is the later version of Cg compiler producing shader using more instructions?
I have a shader that looks like this: void main( infloat2pos: TEXCOORD0, inuniform sampler2Ddata: TEXUNIT0,[详细]
2023-03-20 06:54 分类:问答What is the relationship between gl_Color and gl_FrontColor in both vertex and fragment shaders
I have pass-through vertex and fragment shaders. vertex shader void main(void) { gl_TexCoord[0] = gl_MultiTexCoord0;[详细]
2023-03-14 06:43 分类:问答OpenGL Pixel Shader: how to generate random matrix of 0s and 1s (on each pixel)?
So what I need is simple: each time we perform our shader (meaning on each pixel) I need to calculate random matrix of 1s and 0s with resolution == originalImageResolution. How to do such thing?开发者[详细]
2023-03-10 21:30 分类:问答What is OpenGL ES 2 Shader language analog for HYDRA (pixel bender) sampleLinear?
So I look onto OpenGL ES shader specs but do not see such... For example - I created simple \"pinch to zoon\" and \"rotate to turn around\" and \"move to move center\" HYDRA pixel bender filter. it c[详细]
2023-03-10 06:25 分类:问答Pixel Shader performance on xbox
I\'ve got a pixelshader (below) that i\'m using with XNA. On my laptop (crappy graphics card) it runs a little jerky, but ok. I\'ve just tried running it on the xbox and it\'s horrible![详细]
2023-03-08 04:38 分类:问答