Raycaster now leaves colors that are above a threshold to have a 'glow' effect.
This commit is contained in:
parent
c0d668fb0b
commit
96a585220b
3 changed files with 20 additions and 33 deletions
|
@ -12,6 +12,8 @@ constexpr const int SCREEN_WIDTH=1280;
|
|||
constexpr const int SCREEN_HEIGHT=720;
|
||||
constexpr const int RAY_VIEW_X=(SCREEN_WIDTH - RAY_VIEW_WIDTH);
|
||||
constexpr const int RAY_VIEW_Y=0;
|
||||
constexpr const int GLOW_LIMIT=220;
|
||||
constexpr const int LIGHT_MULTIPLIER=2.5;
|
||||
|
||||
constexpr const int BOSS_VIEW_WIDTH=1080;
|
||||
constexpr const int BOSS_VIEW_HEIGHT=SCREEN_HEIGHT;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue