Skip to main content
Filter by
Sorted by
Tagged with
57 votes
4 answers
36k views

I'd like to get a list of all the uniforms & attribs used by a shader program object. glGetAttribLocation() & glGetUniformLocation() can be used to map a string to a location, but what I ...
hyperlogic's user avatar
  • 7,785
0 votes
1 answer
2k views

When using GLSL vertex shaders, a way to let the shader work as a fixed-function pipeline is to call the: ftransform(); function. Is there a similar function for HLSL's vertex shaders? Thank you
tunnuz's user avatar
  • 24.2k
8 votes
4 answers
13k views

I just started Shader programming(GLSL) and created a few with RenderMonkey. Now I want to use this Shaders in my java code. Are there any simple examples of how I do that?
Alexander Stolz's user avatar
0 votes
2 answers
779 views

I am trying to write a fragment program that will take a texture and clamp the texels between two values. That is, if the min value is say 0.2 and the max value is 0.6, any texel less than 0.2 will ...
Dan Vogel's user avatar
  • 3,968
4 votes
2 answers
1k views

i'm currently experimenting using PixelShaders introduced with .net 3.5 sp1 to improve image processing performance. everything is much faster , but til yet i just had effects applied to some elements ...
Joachim Kerschbaumer's user avatar
1 vote
1 answer
234 views

When executing a pixel shader under Direct3D, do the limits on texture coordinates imposed by MaxTextureRepeat only become an issue during calls to texture lookup functions such as Tex2D(), or do they ...
2 votes
1 answer
2k views

OpenGL. Let's say I've drawn one image and then the second one using XOR. Now I've got black buffer with non-black pixels somewhere, I've read that I can use shaders to count black [ rgb(0,0,0) ] ...
Slava V's user avatar
  • 17.4k
7 votes
5 answers
4k views

I don't think this is possible just using the color setting in SpriteBatch, so I'm trying to work out a simple shader that would take every pixel and make it white, while respecting the alpha value of ...
Iain's user avatar
  • 9,482
19 votes
9 answers
6k views

I want to get started doing some game development using Microsoft's XNA. Part of that is Shader development, but I have no idea how to get started. I know that nVidia's FX Composer is a great tool to ...
Michael Stum's user avatar

1
137 138 139 140
141