Aaron Hedquist·Mar 9, 2018AR Game PrototypeFirst screenshot of an early AR game prototype, using poker cards as image targets in Vuforia. As you can see, images that have mirrored…
Aaron Hedquist·Feb 3, 2018Shield shaderThis was created following this video by Makin’ Stuff Look Good in Unity. This was an excellent tutorial, but I did have to take some extra…
Aaron Hedquist·Jan 31, 2018X-Ray Glow ShaderThis uses techniques learned from Makin’ Stuff Look Good in Unity, which features an episode about replacement shaders. Replacement shaders…
Aaron Hedquist·Jan 24, 2018Stencil shadersThe stencil buffer allows shaders to use one set of meshes to mask another. For instance, if you want to put a hole in this wall, so you…
Aaron Hedquist·Jan 23, 2018Hologram shaderThis is actually just a modification of the earlier rim shader. The difference being that instead of just adding a color with high dot…
Aaron Hedquist·Jan 22, 2018Toon shader with a custom lighting modelThis shader could be a lot of fun. Using a custom lighting function, it applies a color from a given texture’s UV coordinates based on the…
Aaron Hedquist·Jan 19, 2018World position stripes shaderUses the world position of the pixel to apply a color within a defined set of bounds. This uses the frac function, which returns the value…
Aaron Hedquist·Jan 19, 2018Bump map shaderThis shader uses a diffuse and a normal map, and allows adjustment of how “deep” the bump mapping is:
Aaron Hedquist·Jan 19, 2018Tiered rim shaderSimilar to the basic rim, this just creates two thresholds of values of the dot product, and assigns different colors to each:
Aaron Hedquist·Jan 19, 2018Basic Rim ShaderYou can create a basic “rim shader,” which adds color around the edges of polygons, using the dot product of the view direction and surface…