Leaf Shader

This is a “follow up” post to my first post about shader development. In this one I explain the in’s and outs of the leaf shader development. I will be building on the understanding of shaders I talk about in my first post, so it’s a good idea to read that first. The first keyContinue reading “Leaf Shader”

Shader Development.

This is going to be a long post about all things shader. I have been developing two main shaders for this project. The Grass shader which I just added fog functionality too (The rest is just Harry’s grass shader source: https://halisavakis.com/my-take-on-shaders-grass-shader-part-ii/) The second shader while inspired by Harry’s is actually built by your’s truly andContinue reading “Shader Development.”

Programming camera And Movement

This is the document where I explain how the camera and movement/rotation code works. Camera Code. The bulk of the work is done in two functions. HandleMouseInput(), and HandlePosition(). Essentially we want to create a Dark souls style third person controller. So we want the camera to orbit the player relative to the mouse input.Continue reading “Programming camera And Movement”

Circle Geometry

Sketches of me figuring out how to use maths to create some circular geometry. As you can see this is how we create a circle… Do that around a line and in theory you have a cylindrical structure. In Unity I knocked up a quick prototype to calculate some of the values shown above usingContinue reading “Circle Geometry”

Design a site like this with WordPress.com
Get started