Tag: vertex
-
Gamedev Pronunciation Guide
—
in DiscussionIntroduction If you are working in the field of Computer Science, chances are you might have encountered quite a lot of technical terms and foreign names, such as Dijkstra and Nyquist. And chances are that you have learnt a good part of them solely from books. And there is nothing more embarrassing than being in…
-
Tentacle Suckers Shader
—
Following the unexpected success of the tutorial on Inverse Kinematics for Tentacles, I have decided to share the shader that I used to make them so realistic. If you are not familiar with shaders, fear not. This tutorial will be target at beginners, and you’ll only need a basic understanding of how Unity works. A…
-
Arrays & shaders: heatmaps in Unity
—
This tutorial explains how to pass arrays to shaders in Unity. This feature has been present for a long time, but is mostly undocumented. Unity 5.4.0 Beta 1 will introduce a proper API to pass arrays to shaders; this technique however will work with any previous version. If you are using Unity 5.4+, please refer to the Arrays & Shaders…
-
Screen shaders and image effects in Unity3D
—
Part 1, Part 2, Part 3, Part 4, Part 5, [download the Unity3D package] If you are using Unity3D you may be familiar with image effects. They are scripts which, once attached to a camera, alter its rendering output. Despite being presented as standard C# scripts, the actual computation is done using shaders. So far, materials have been applied…
-
Vertex and fragment shaders in Unity3D
—
Part 1, Part 2, Part 3, Part 4, Part 5, [download the Unity3D package] The previous three posts of this tutorial have introduced surface shaders and how they can be used to specify physical properties (such as albedo, gloss and specular reflections) of the materials we want to model. The other type of shader available in Unity3D…
-
Surface shaders in Unity3D
—
Part 1, Part 2, Part 3, Part 4, Part 5 This is the second part of a series of posts on Unity3D shaders, and it will focus on surface shaders. As previously mentioned, shaders are special programs written in a language called Cg / HLSL which is executed by GPUs. They are used to draw triangles of your 3D…
-
A gentle introduction to shaders in Unity3D
—
Part 1, Part 2, Part 3, Part 4, Part 5 We can safely say that Unity3D has made game development easier for a lot of people. Something where it still has a long way to go is, with no doubt, shader coding. Often surrounded by mystery, a shader is a program specifically made to run on a GPU.…