- Home /
Shader / Compute Shader in Unity
Hello Guys,
I want to get into GPU Programming but somehow it is hard to start for me. Are there any good tutorials that are specialized on unity shader programming? My future goal is a procedural terrain ("Smooth" Voxel based). I looked for some information about that but its kinda rare, hope someone has some good sources.
For now I was just into normal programming, mainly c#, sometimes javascript. Out of unity Java,Delphi,PHP... I somehow need to understand where the connection is between shader and objects in unity.
Thanks in advance.
Answer by tanoshimi · Jan 21, 2014 at 07:40 PM
It's unclear from your question whether you want to learn how to render custom materials (I.e. Shaders), or general purpose programming on the GPU (I.e. Compute shaders).
For the first, try https://en.m.wikibooks.org/wiki/Cg_Programming/Unity
For the second, I'm not aware of anything Unity-specific: try a book on DX11 DirectCompute.
Well as I said my main goal is procedural voxel terrain, so I think Compute shaders would be correct. So DX11 DirectCompute can be used with unity, or is there anything specific with unity. A general purpose tutorial would be also good of course, as long as this works with unity.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Guidance to read write and learn Programming 3 Answers
Material doesn't have a color property '_Color' 4 Answers
How to learn c sharp fast? 0 Answers
The name 'Joystick' does not denote a valid type ('not found') 2 Answers