Can you get the row and column of the current fragment in an HLSL (DX11) fragment shader?
Row and column index of fragment, HLSL shader
286 Views Asked by bobobobo At
1
There are 1 best solutions below
Related Questions in PIXEL-SHADER
- How to color overlay non transparent SKSpriteNode texture parts withs Swift
- In which shader should i put technique11 section
- Zooming part of imageView or circular zoom in Android
- Are there DirectX guidelines for binding and unbinding resources between draw calls?
- DirectX10: apply an effect to a texture
- Emulating Photoshop Opacity Mask to HLSL ShaderEffect
- How to change this shader to solid color?
- DX9 and DX10): what is the default pixel (and vertex) shader? (OpenGL too, if possible.)
- Turn off color ranges in Pixel Bender
- Use shaders to compare images
- Can I generate a random number inside a pixel shader?
- DX Shader Assembly Registers
- How can I dynamically make only a certain part of my sprite transparent? Through a Shader or something
- Easier way to use Texture2D array in shader
- Using shader resources in HLSL (Port DX9->DX10)
Related Questions in DIRECT3D11
- D3D11 Post Shader Results in Dark Image
- Is there a way to call SetPrivateData on a ID3DUserDefinedAnnotation?
- DirectX 11 Grid Not getting Drawn Properly
- HLSL mul and D3DXMATRIX order mismatch
- DirectX 11: Encoded Vertex Shader size doesn't match specified size
- Why MRT rendering fails when the shaders run on the primary graphics card?
- A issue about rasterization,What's the way to deal with matrix?
- Direct3D11 Screenshot crash
- I am trying to set a chess board texture for a square
- FXC /Od problems on DirectX 10 Hardware
- How to understand the asynchrony of CopyResource?
- DX11 triangle list is not rendering at all
- How to support (on win7) GDI, D3D11 interoperability?
- Direct3D 11 Access is Denied
- Direct3D 11 Using Vectors instead of Arrays
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can pass the size of the texture as a uniform and use texture coordinates to find out where the fragment lies in pixel space.
May I ask why?