Quake E1M2 Unreal Engine 4 port - Player Physics (WIP)
A study of the Quake engine source code and reproducing the same type of physics and math created by John Carmack. Does not use Unreal Character obviously. Uses custom physics code with physics slide for the move that uses up to 5 surfaces. Physics states, gravity, player collision, movement, etc all use the same pawn vars from the quake. Uses a 4096 x 4096 CLUT to replace all colors with no artifacts down to Quake''s specific 256 color palette. Underwater post process should be near identical to what was in the original code. Sky render code should be fairly accurate as well. Take note of the melty sky on the horizon. Baked lighting is 1 pixel = 16uu in the world like Quake. Lights and fall off for the bake are almost right. They need some adjustment in the engine code (swarm render) to make it exact though they're okay for now. Fire animation is not exact since UE4 cannot step the animation for blend shape / vertex animation like it can for skeletal. Will make proper vertex animation for other assets later.
A study of the Quake engine source code and reproducing the same type of physics and math created by John Carmack. Does not use Unreal Character obviously. Uses custom physics code with physics slide for the move that uses up to 5 surfaces. Physics states, gravity, player collision, movement, etc all use the same pawn vars from the quake. Uses a 4096 x 4096 CLUT to replace all colors with no artifacts down to Quake''s specific 256 color palette. Underwater post process should be near identical to what was in the original code. Sky render code should be fairly accurate as well. Take note of the melty sky on the horizon. Baked lighting is 1 pixel = 16uu in the world like Quake. Lights and fall off for the bake are almost right. They need some adjustment in the engine code (swarm render) to make it exact though they're okay for now. Fire animation is not exact since UE4 cannot step the animation for blend shape / vertex animation like it can for skeletal. Will make proper vertex animation for other assets later.