Hobby Projects

Hologram/Iridescence Shader
Hologram/iridescence effect on a ray marched cube. Click and drag to rotate using mouse.

Dora De'athsplorer(Unity, C#)
A game made in 72 hours for the ludum dare 42 game jam. Programmer + game designer of the project.


Untitled FPS Project(Unity, C#)
A prototype steam punk first person shooter.

TicTacToe Multiplayer(Unity,C#,GameSparks)
A prototype tic-tac-toe multiplayer game using the GameSparks API. To try it out, extract the .rar file and run 2 copies of PC.exe file. Login 2 different users in each window. Then click Find Match in both windows. You can also connect to a game running on another machine.



TPS-Prototype (Unity, C#)
Developed a customizable character controller. Implemented features like foot, hand and aim IK, adjustable weapon effects such as recoil/FOV shift etc., mecanim blend tree animations, bullet physics etc.

Fragment Shaders (glsl, C)
Below are some of the fragment shaders I made for fun. The first one's my favourite so far.

Fractal animation

This is basically a fractal that changes itself according to the sound/music input. Make sure to play this with sound enabled.

These spheres are rendered using the technique of raycasting. Basically, a ray is created for each screen pixel and it is checked whether the ray intersects a given sphere using intersection equations. If it does then the specular color for that pixel is set after calculating the reflection values of the rays from the light sources toward the camera.

A distance function which will return the distance value for a regular ngon when given its number of sides and apothem or circum circle radius.

Interactive Fluid Surface


Realtime, realistic interactive fluid surface simulation. Vertices of a mesh are updated according to a simplified approximated version of the 2nd derivative of the displacement function. Factors like viscous damping and wave velocity of the fluid are taken into account.
When clicked on the fluid surface, the nearest vertex to the point of click is applied a force which then propagates through the entire fluid.
Reference: Mathematics for 3D Game Programming and Computer Graphics - Eric Lengyel




A-star Pathfinding (C#, Unity)


Pathfinding based on the a-star algorithm. There is a plane on top of which there are a bunch of obstacles. When you click anywhere on the plane, the character will move to that position if it's reachable. Otherwise, the character will move to the closest position possible.

Source: https://github.com/Coditivity/PathFinder
Link: https://coditivity.github.io/PathFinderBuilds/20161101_1254pm/


Game Of Life


Implementation of Conway's game of life. Creates a grid of cells that update according to the rules of the Game of Life. The opposite edges of the grid are linked together. You can source files on Github

No comments:

Post a Comment