mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Add the ability to feather borders of screenspace renderables
This commit is contained in:
@@ -140,6 +140,7 @@ protected:
|
||||
// Border
|
||||
properties::FloatProperty _borderWidth;
|
||||
properties::Vec3Property _borderColor;
|
||||
properties::BoolProperty _borderFeather;
|
||||
|
||||
properties::FloatProperty _scale;
|
||||
properties::FloatProperty _gammaOffset;
|
||||
@@ -149,7 +150,7 @@ protected:
|
||||
|
||||
glm::ivec2 _objectSize = glm::ivec2(0);
|
||||
UniformCache(color, opacity, blackoutFactor, hue, value, saturation, mvpMatrix, tex,
|
||||
backgroundColor, gamma, borderColor, borderWidth) _uniformCache;
|
||||
backgroundColor, gamma, borderColor, borderWidth, borderFeather) _uniformCache;
|
||||
std::unique_ptr<ghoul::opengl::ProgramObject> _shader;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user