I was given an example lens flare, with multiple components to understand and modify in accordance with my level. I began by locating the lens flare within the content browser and opening properties, giving me access to editable features, this presented me with the following window.
This provides me with multiple customisable elements, which I can edit to achieve multiple different effects, the 4 main editable elements within the lens flare are:
- Render distance - The distance at which a lens flare will begin rendering on screen and the distance at which it will stop.
- Flare colour - The physical colour of the flare itself , editable for each of the elements within the flare.
- Flare size - The size of each respective element of the flare, allowing me to make certain elements within the flare appear larger or smaller.
- Flare brightness - This allows me to control the brightness of the flare, ranging in distances far from, and near to the emissive object within my level.
I can turn each layer of my lens flare particle on or off individually using the "Is Enabled" tick box, allowing for easier viewing and editing of other sections.
Considering the intended use for the lens flare, I was to edit the
colour and size or each element first, the colours were edited to a darker,
orange tone in accordance with use on the light itself.
Once I was happy with the size and colour of the flare itself, I began
to implement new assets for certain parts of the flare, the near and far lens
elements more specifically, I imported the new elements into the flare simply,
using the content browser and material editor.
Following the import, the colour and alpha values of the lens elements were
edited to give a less harsh result on screen and in-game, the Flare editor and end result can be seen below.
For the moment I am happy with my lens flare, it will likely need tweaking at a further point in development and I may yet add another lens flare in through further work on this
project. As I adapt it to contain a window with a light outside, being in a
night time setting I feel a lense flare from either a somewhat harsh light outside or the moon would
be appropriate.
No comments:
Post a Comment