Skip to main content

Questions tagged [compute-shader]

0 votes
2 answers
142 views

I was working on this idea of drawing a cone rotating on the y axis with a parametric equation, using a compute shader with a function like: ...
philB's user avatar
  • 333
2 votes
0 answers
99 views

I'm creating voxel planets using Marching Cubes (MC). To handle nearby (high-resolution) and distant (low-resolution) blocks, I use an Octree data structure. NOTE: The implementation uses compute ...
Light's user avatar
  • 21
0 votes
1 answer
288 views

I'm trying to get a very basic Compute Shader to write to a Texture2D and render its result to screen. so far I have written this code to bind UAV to Texture2D and pass that to my Compute Shader. but ...
NotAlfred's user avatar
0 votes
0 answers
273 views

I am trying to generate the height gradient (the slope) for a heightmap of mine using a compute shader in Unity, and the result has weird ringing artifacts and I completely lost what could be wrong. I ...
Keksoskajoska's user avatar
0 votes
0 answers
101 views

I've been working on a C++ game engine for a while, but I decided to scrap the project because doing it in C++, despite my best efforts, I could feel the technical dept building. As such, I switched ...
Spencer Rosas-Gunn's user avatar
1 vote
0 answers
83 views

I am trying to build a compute shader to retrieve pixel color values from a noise-generated image using GLSL and Godot 4.2. The image itself is a 3840 x 2160 and formatted in RG8. I would expect ...
Haruto Kaito's user avatar
0 votes
0 answers
107 views

I've written a C# code and Compute Shader that makes frustum culling and it works correctly but it makes the grass flicker. I can't figure out what is behind this issue so I'm asking here. Does ...
Leedy's user avatar
  • 1
0 votes
0 answers
400 views

I'm working on a little project for a while - creating an area where you can spawn a bunch of grass. I've overcame a major headache when figuring out the GPU instancing for the mesh and the code looks ...
Leedy's user avatar
  • 1
0 votes
0 answers
63 views

In order to apply the metaball effect on a pixel in the Dest RenderTexture, I need the minimum distance to every game object that is involved in generating the metaball effect for that pixel. This ...
rasputin's user avatar
1 vote
0 answers
129 views

I am looking to achieve the following: I have a compute shader that receives a Texture2D as input, where a small percentage of the pixels in the texture are white. ...
Daniel Cardin's user avatar
1 vote
0 answers
41 views

I'm implementing an algorithm called Fast3x3 SVD on my compute shader. However, while I was debugging my compute shader in RenderDoc, I noticed some assignment operators were completely getting ...
ThisAccountIsForGameDev's user avatar
0 votes
1 answer
670 views

My generated terrain chunks have gaps between them: I'm using Compute Shader and Simplex Noise from FastNoiseLite library to generate noise: ...
aress's user avatar
  • 21
1 vote
0 answers
53 views

I'm generating a 3D terrain chunk based on Simplex Noise and Marching Cubes algorithm to create mesh. My chunks have global coordinates (x,y) e.g: (0, 1), (-1, 1)... Noise is generated using Compute ...
aress's user avatar
  • 21
0 votes
0 answers
501 views

I have a Compute Shader which uses InterlockedMin() and InterlockedMax(). The Compute Shader works very well on my PC (AMD ...
Suratraak's user avatar
  • 101
0 votes
2 answers
128 views

I have a problem with converting my pixel shader to compute shader. The error is in this piece of code: ...
philB's user avatar
  • 333

15 30 50 per page
1
2 3 4 5