pixel-shader
Strange floating point arithmetics in WebGL fragment shader
I\'m writing a simple WebGL program. I\'m stuck with a strange behavior in a shader program: condition ( 1.01 * 2.0 > 1.0 ) evaluates to true but[详细]
2023-01-31 00:07 分类:问答Shader framebuffer readback
I was wondering if there is support in the newer shader models to read-back a pixel value from the target framebuffer. I assume that this is alrdy done in later (non-programmable) stages in the drawin[详细]
2023-01-29 03:46 分类:问答Floyd–Steinberg dithering alternatives for pixel shader
I know that Floyd–Steinberg dithering algorithm can\'t be implemented with pixel shader, because that algorithm is strictly sequential. But maybe there exist some higly parallel dithering algorithm w[详细]
2023-01-22 11:34 分类:问答HLSL Translucent Plastic Shader
I\'m trying to produce a shader to replicate a white plastic object with a colored light inside. Either by having a shader that will be translucent and if I put a light inside the object the light wil[详细]
2023-01-15 21:34 分类:问答Dynamically compiling and running shaders from file in XNA
im wondering if its possible to dynamically compile a pixel-shader from file and apply it to a mesh. First I\'ll 开发者_JAVA技巧just start with some background information. I have a system which crea[详细]
2023-01-14 07:07 分类:问答How wrap image around cylinder in Silverlight
I am trying wrap image around cylinder in silverlight. I looked a lot in Google but don\'t found anything. As I know it can be done with pixel shader, but don\'t know ho开发者_开发百科w.[详细]
2023-01-14 00:45 分类:问答Restricting Pixel shader on particular area of image
Is there any way to restrict Pixel shader on particular area of image. B开发者_运维知识库RDraw a layout (Grid, Canvas etc.), so that one or more cells contain the restricted area. Then draw a Rectan[详细]
2023-01-11 10:23 分类:问答Pixelation/filtering issue in Silverlight when using a pixel shader with a rotation transformation
I am doing some game-related rendering with Silverlight, and when I attach a pixel shader to an image that has a (rotational) transformation, I am seeing a strange, fuzzy, pixelation effect.[详细]
2023-01-11 05:39 分类:问答Is there any way to apply shader effect on particular cell of a Grid
Is there any way to apply shader effect on particular cell of a开发者_如何学编程 Grid. BRYou cannot apply a shader effect on a particular Grid cell, but you can add a Rectangle or Border control with[详细]
2023-01-11 01:10 分类:问答Photoshop PhotoFilter pixel Math
Has anyone used the photo filter in Photoshop? Edit > Adjustments > P开发者_如何学Gohoto Filter...[详细]
2023-01-10 11:50 分类:问答