Introducing effects
Without FX, the game world is usually hard to believe and is considered void of life. Simply adding effects such as sound and particles helps to make the world come alive, giving the player a much more immersive feeling of the world.
Although there isn't one combined system for all types of effects in the engine, we'll be covering a number of systems that handle effects of various sorts. This includes material effects, particle effects, sound effects, and more.
Material effects
The material effects system handles reactions between materials, for example, to play different particle and sound effects based on which material a rock lands on.
Surface types
Each material is assigned a surface type, indicating what type of surface it is. For example, if we are creating a rock material, we should use the mat_rock surface type.
By assigning a surface type, the physics system will be able to gather information on how collisions should behave, for example, by getting the...