Tag Archives: GameDev

The Hunt for Napoleon

I was commissioned to create a game for the “Nelson’s Norfolk” exhibition that has been running in The Forum, Norwich throughout August. “The Hunt for Napoleon” is a first-person adventure set during the Battle of the Nile, in which players … Continue reading

Posted in Game Dev | Tagged , , , , | Leave a comment

Keeping Track of Targets in a Trigger

Unity provides the OnTriggerEnter() and OnTriggerExit() events that fire whenever a collider enters or exits the designated trigger, and also an OnTriggerStay() that fires in every frame in which the collider is within the trigger. However, it doesn’t provide a … Continue reading

Posted in Game Dev | Tagged , | 1 Comment

Sepia Shader

I found this techrepublic page, which gives a conversion algorithm from a standard RGB image to a Sepia image tone as follows: You can obviously tweak these values if you like – there is no exact formula (Sepia itself being … Continue reading

Posted in Game Dev | Tagged , , , | Leave a comment

Lighting Models and BRDF Maps

A Bi-directional Reflectance Distribution Function (BRDF) is a mathematical function that describes how light is reflected when it hits a surface. This largely corresponds to a lighting model in Unity-speak (although note that BDRFs are concerned only with reflected light, … Continue reading

Posted in Game Dev | Tagged , , , , | 3 Comments