This is a simple level done with FPS Maker, my custom FPS game engine. It showcases the features in the current version of the engine. Download link at the end of this post.
A simple shader to make a night vision effect. Features - Screen colorization - Vignette effect - Noise - Scene diffuse (unlit) and scene color (lit) buffer are blended, allow to see in the complete dark while still having luminance difference on pixel affected by lights - Option to have pixels with high luminance tending toward white Screenshots Without effect With effect With/ Without (drag the cursor) Video Source Code [+] Shader Shader "Post Process/Shader_NightVision" { Properties { _MainTex ("Texture", 2D) = "white" {} _ColorTint("Color Tint", Color) = (1, 1, 1, 1) _VignetteRadius("Vignette Radius", Range(0, 2)) = 0.25 _VignetteSmoothness("Vignette Smoothness", Range(0, 2)) = 0.25 _LightSensitivity("Light Sensitivity", Range(1, 100)) = 1 _LightWhiteTreshold("Light White Treshold", Range(0, 1)) = 0.5 _LightWhitePower(
This is a post process material I've done on Unreal 4 on my free time. To make this rendering, this is what I did: Post process material must be rendered before tone mapping to get "hard edge" on light radius attenuation Original image is desaturated to black and white Color masking, here color close enough to red is excluded from desaturation Image tresholding to keep pixels of a luminance under a predefined step black, the others become white Outline effect Sobel operator used to detect edges Keep only hard enough edge using tresholding again Edges lit by a light are blacks, others are white
What is FPS Maker FPS Maker is a FPS game engine with no coding knowledge requirements designed for absolute newbies in game development, it looks like more a game with its own map editor. FPS Maker is written in C++ and uses Irrlicht for the rendering part and OpenAL for the audio part. I started working on it 3 months ago, of course it is still under development and my free time will be highly shortened soon, so progress will be slow but I will try to add/improve features depending on my free time. So this is how FPS Maker looks like for now, hoping I will have enough time to post updates. Main Features Editor Map editing Play current map from editor Build game in a standalone format Tile based navigation graph generation (automatic) Browse custom game assets Game Basic FPS 3C Weapons AI based on state machines Path finding based on A* algorithm Batching for static geometry Dynamic per pixel lighting (using a custom shader, not the Irrlicht built
Comments
Post a Comment