mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-16 09:40:10 +02:00
Starting on glow effect.
This commit is contained in:
parent
f2bfb72471
commit
597842eba2
4 changed files with 35 additions and 0 deletions
|
@ -3150,6 +3150,9 @@ void Application::displaySide(Camera& whichCamera) {
|
|||
}
|
||||
|
||||
renderFollowIndicator();
|
||||
|
||||
// render the glow effect
|
||||
_glowEffect.render();
|
||||
}
|
||||
|
||||
void Application::displayOverlay() {
|
||||
|
|
|
@ -43,6 +43,7 @@
|
|||
#include "avatar/Avatar.h"
|
||||
#include "avatar/HandControl.h"
|
||||
#include "renderer/GeometryCache.h"
|
||||
#include "renderer/GlowEffect.h"
|
||||
#include "renderer/TextureCache.h"
|
||||
#include "ui/BandwidthDialog.h"
|
||||
#include "ui/ChatEntry.h"
|
||||
|
@ -443,6 +444,7 @@ private:
|
|||
TextureCache _textureCache;
|
||||
|
||||
ParticleSystem _particleSystem;
|
||||
GlowEffect _glowEffect;
|
||||
|
||||
#ifndef _WIN32
|
||||
Audio _audio;
|
||||
|
|
11
interface/src/renderer/GlowEffect.cpp
Normal file
11
interface/src/renderer/GlowEffect.cpp
Normal file
|
@ -0,0 +1,11 @@
|
|||
//
|
||||
// GlowEffect.cpp
|
||||
// interface
|
||||
//
|
||||
// Created by Andrzej Kapolka on 8/7/13.
|
||||
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved.
|
||||
|
||||
#include "GlowEffect.h"
|
||||
|
||||
void GlowEffect::render() {
|
||||
}
|
19
interface/src/renderer/GlowEffect.h
Normal file
19
interface/src/renderer/GlowEffect.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
//
|
||||
// GlowEffect.h
|
||||
// interface
|
||||
//
|
||||
// Created by Andrzej Kapolka on 8/7/13.
|
||||
// Copyright (c) 2013 High Fidelity, Inc. All rights reserved.
|
||||
//
|
||||
|
||||
#ifndef __interface__GlowEffect__
|
||||
#define __interface__GlowEffect__
|
||||
|
||||
class GlowEffect {
|
||||
public:
|
||||
|
||||
void prepare();
|
||||
void render();
|
||||
};
|
||||
|
||||
#endif /* defined(__interface__GlowEffect__) */
|
Loading…
Reference in a new issue