Windows 10: How to sample a R8_UINT texture in hlsl/direct12

Discus and support How to sample a R8_UINT texture in hlsl/direct12 in Windows 10 Software and Apps to solve the problem; I'm a newbie in DX12 and trying to visualize Stencil buffer onto screen. I've been copied stencil plane slice into a DXGI_FORMAT_R8_UINT texture, but... Discussion in 'Windows 10 Software and Apps' started by pixelhistory, Nov 30, 2024.

  1. How to sample a R8_UINT texture in hlsl/direct12


    I'm a newbie in DX12 and trying to visualize Stencil buffer onto screen. I've been copied stencil plane slice into a DXGI_FORMAT_R8_UINT texture, but when HLSL samples this texture it just returns 0, and finally my render result is a black screen.Here is the texture2d info from PIX:the sampling code is very straightforward, but when I debug pixel history at uv coordinate 0.398125, 0.534167, it just return a very small value from Sample expression: Texture2D gDiffuseMap : registert0; SamplerState gsamAnisotr

    :)
     
    pixelhistory, Nov 30, 2024
    #1

  2. Texture

    I'm using 3D Builder as my modeling service, but textures and meshes dont upload together in ROBLOX. So i need to make the texture a decal. Where can I find a texture of a model I made and saved?
     
    RobloxFan22, Nov 30, 2024
    #2
  3. Wanted: Sample scripts to cannibalize

    I need to create a simple (I hope) script and have it working in less than 2 weeks. I'm not terribly proficient in any scripting language but am comfortable with .bat scripts and can stumble around in .vbs (given good samples). PowersShell might as well be Sanskrit. (I know I should learn PS but the learning curve is too long for this project.) JavaScript is another possibility. I've never used it, but I suspect it has a shorter learning curve than PS. The script needs to
    1. Present and process a file selection display of some sort. It would be ideal if it looked and felt similar to File Explorer but I'll accept anything that works.
    2. Open a file, read the data, and close the file.
    3. Modify the data read in step 2. The data will be a number of file paths - local, not UNCs.
    4. Open a file, write data (overwriting, if it already exists), and close the file. (I assume steps 2, 3, and 4 will happen concurrently.)
    5. Invoke a program (as though using "Open With" in File Explorer) to process the data written in step 4.
    I'm sort of envisioning this as an HTA, but I could use anything that works. I'm not worried about steps 2, 3, and 4; I'm sure I can get that part to work. I have no idea how to do step 1 although I'm sure it can be done. A lot of applications do that. I am most worried about step 5. I have no idea how "Open With" passes the selected file's path to the program or the program accesses that data. (Is it just like calling a program with an argument?) I will be writing this on Win10 21H1 (build 19043.1348) but it will have to run on some very old computers running Win7, on newer computers running Win10, and probably eventually on Win11. Are there some scripts around that I can use as models?
     
    pokeefe0001, Nov 30, 2024
    #3
  4. Darkleoco Win User

    How to sample a R8_UINT texture in hlsl/direct12

    OFFICIAL   Elder Scrolls V : Skyrim (Discussion)

    First step is to download the official HD texture pack.
     
    Darkleoco, Nov 30, 2024
    #4
Thema:

How to sample a R8_UINT texture in hlsl/direct12

Loading...
  1. How to sample a R8_UINT texture in hlsl/direct12 - Similar Threads - sample R8_UINT texture

  2. How to sample a R8_UINT texture in hlsl/direct12

    in Windows 10 Gaming
    How to sample a R8_UINT texture in hlsl/direct12: I'm a newbie in DX12 and trying to visualize Stencil buffer onto screen. I've been copied stencil plane slice into a DXGI_FORMAT_R8_UINT texture, but when HLSL samples this texture it just returns 0, and finally my render result is a black screen.Here is the texture2d info...
  3. Weird textures in apps

    in Windows 10 BSOD Crashes and Debugging
    Weird textures in apps: I started to exprience somw weird textures appearing in some of the apps on my notebook Asus ROG G513QC HN014. It onlly appears in some of the apps, for example Microsoft Teams. The texture apperes in blocks. When i click on a block the texture it disappears but when i click...
  4. How did I fix a no texture issue.

    in Windows 10 Gaming
    How did I fix a no texture issue.: I imported some stuff from ROBLOX and made a plush of my avatar. After I did everything with that and colored it I went to import it to ROBLOX but the color would not show I do not want to do it again in a software like Blender....
  5. Weird texture glitches

    in Windows 10 Software and Apps
    Weird texture glitches: I have been getting strange texture glitches recently.They seem to change color if i tab out and back in, or disapear entirely.They look like this:This is the texture glitch:This is what it's supposed to look like:This is another texture glitch:This is what it's supposed to...
  6. In the works: HLSL DirectX Shader Model 6.6 for developers

    in Windows 10 News
    In the works: HLSL DirectX Shader Model 6.6 for developers: Microsoft and its partners are happy to announce the development of Shader Model 6.6, the latest advancement in HLSL capability. Shader Model 6.6 will grant shader developers increased flexibility to enhance and expand existing rendering approaches and devise all new ones....
  7. Pack texture Minecraft

    in Microsoft Windows 10 Store
    Pack texture Minecraft: Bonjour, J'aimerais savoir comment annuler l'achat d'un pack de texture dans le jeu Minecraft sur pc windows j’ai fais une fausse manip et ma carte était enregistrer ça ma acheter un truc que je ne voulais pas dutout est-ce possible d’annuler et ce faire rembourser ?...
  8. How to change Sample rate?

    in Windows 10 Customization
    How to change Sample rate?: I've been trying to change my Sample rate for my headphones in headset properties, to use an external app Voicemod. Voicemod requires you to use 44000 or 48000 hz or it won't work. Mine is set to 8000hz telephone quality and I tried to change it after uninstalling the app....
  9. windows texture viewer

    in Windows 10 Network and Sharing
    windows texture viewer: Am looking for some help with windows texture viewer by nvidia. The problem, every time am opening the program its keep on crashing I need to know if this compatible windows 10 or is there another program like it with the same features or will have to return my pc back to...
  10. Texture

    in Windows 10 Software and Apps
    Texture: I'm using 3D Builder as my modeling service, but textures and meshes dont upload together in ROBLOX. So i need to make the texture a decal. Where can I find a texture of a model I made and saved?...