Lighting Requirements
Similar to the Assassin's Creed opening CG animation, the scene of a cool lighting, the player in the scene to walk can feel the light is very real.
Reference Video: http://www.iqiyi.com/w_19rqytbmvt.html
Operating Environment
Android/ios mobile phone platform, so the performance has certain requirements.
Initial prototypes
Thinking analysis
1. Engine comes with light component, transform color, transform transform
2.lineRenderer draw the line assembly, simulates the light effect, Linerenderer hit to the character body effect lifelike?
3.mesh+shader or particle systems for simulation
Light Beam/shaft
Beam, light
Volumetric Lighting (volumetric illumination)
Forest Scene Buck Bunny, show light through canopy [image citation from: Wikipedia]
Volumetric illumination
Volumetric lighting Technology uses three-dimensional computer graphics to add illumination to impact rendering scenarios. It allows viewers to see the light beam in the environment; an example of the volume of sunlight flowing through an open window is also known as The Twilight Light. The word seems to have been introduced into photography and is now widely used in 3D modelling and rendering especially in the field of 3d games.
The light cone emitted by the light source of the volumetric illumination is modeled as a transparent object, which can be regarded as the "volume" of a container. Thus, light has the ability to influence an actual three-dimensional medium (such as fog, dust, smoke or steam) within its volume as in the real world.
How volumetric Lighting Works
Volumetric lighting requires two components: a light space shadow map and a depth buffer. Starting near the clip plane of the camera, the entire scene is traced and the sampled values accumulate into the input buffer. For each sample, it determines if the sample is illuminated by a light source being processed using a shadow map as a comparison. Only the ignition sample will affect the final pixel color.
This basic technology, but requires more real-time optimization capabilities. One way to optimize the volume light effect is to make the illumination volume larger than this coarser resolution graphics context, which creates some bad aliasing, but it's easy to touched up a blur.
You can also use a template buffer like Shadow volume technology
Another method can also be used to provide satisfactory if the volume of the light effect is inaccurate. The fuzzy algorithm functions luminous objects away from the main source of the center. Generally speaking, transparency is progressively reduced with each blurred step. Especially in a brighter scene. Note: This requires a light source on the screen.
Volumetric Light English
Volumetric light:https://en.wikipedia.org/wiki/volumetric_lighting
Light probe plug-in-light beams
Key Features
Can control the length of light fade, beam intensity, light softness, texture movement speed. Single-sided material (Shader Model 3.0 or later)
principle
Mesh (conical or bill aircraft) + shader control texture parameters analog beam (mesh does not accept illumination )
Links: https://www.assetstore.unity3d.com/en/#!/content/49640
Adjustable Parameters
Examples of shadow guns can be used for reference
Unity implements Assassin's Creed lighting ideas