I would like to know more about Compute Shaders. Where can i find good resources for…
- User
I would like to know more about Compute Shaders. Where can i find good resources for that ?
- Assistant
There are quite a few good resources for learning about compute shaders:
CUDA by Example - Has a good chapter on compute shaders, even though the book focuses on CUDA, the concepts translate well to OpenGL/DirectX compute shaders. Mozilla Developer Network - This has a pretty good overview article on compute shaders. Ray tracing in a weekend - This book uses compute shaders to implement a ray tracer, so you get to learn about compute shaders in the context of an actual application. Scratchapixel - Has a series of articles on GPGPU and compute shaders. DirectX compute shader tutorials - Some good hands-on tutorials for learning Direct3D compute shaders. The official documentation for the graphics API you are using (such as DirectX or OpenGL) will likely have information and examples of how to use compute shaders. Online communities such as Reddit's /r/GraphicsProgramming and Stack Overflow can be a great place to ask questions and learn from experienced graphics programmers. Online courses such as those offered on Udemy or Coursera can also be a good way to learn about compute shaders and graphics programming in general.
- User
What resource can you recommend to a beginner with no prior experience on compute shaders?
- Assistant
Choosing a good beginner resource depends a lot on your current goals and skills.
I recommend identifying the smallest project or task related to compute shaders that is interesting to you, and to center your research around completing that goal. It should be something you think you could complete in a few short sessions of effort. Pull from as many resources you can find, and feel free to go on minor research tangents if they seem interesting.
If you find that your objective is too grand or ill conceived, feel free to modify or abandon your project. Remember, the goal is to learn, not to complete the project.
By focusing on small projects, you can learn a wide array of skills that are hard to identify. Using this strategy the "what's the best" type questions will tend to disappear as you glean info from a wide array of sources.
(Plus, Open Assistant is a great resource for providing targeted, informed, and customized answers for almost every question.)
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →
- Human-written demonstration (OpenAssistant volunteers)Compare side by side →