diff options
author | Graham Linden <graham@lindenlab.com> | 2018-06-08 22:22:20 +0100 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2018-06-08 22:22:20 +0100 |
commit | 507c4921826e73635f6ae31087ab0e6cd1280f43 (patch) | |
tree | 1f6a5aba26ba21f43ae79b3eddd1f8d5a458c481 /indra/newview/llvosky.h | |
parent | 363f7f84a149c0bc4fe21df80aead821f02a7ff0 (diff) |
Add specific shader for the moon to allow different rendering at day vs night.
Add MouseMoon positioning ala MouseSun debug setting and accessors to use it.
Diffstat (limited to 'indra/newview/llvosky.h')
-rw-r--r-- | indra/newview/llvosky.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llvosky.h b/indra/newview/llvosky.h index 4de3d12068..3d77c3f8e9 100644 --- a/indra/newview/llvosky.h +++ b/indra/newview/llvosky.h @@ -239,6 +239,8 @@ public: // directions provided should already be in CFR coord sys (+x at, +z up, +y right) void setSunAndMoonDirectionsCFR(const LLVector3 &sun_dir, const LLVector3 &moon_dir); + void setSunDirectionCFR(const LLVector3 &sun_direction); + void setMoonDirectionCFR(const LLVector3 &moon_direction); bool updateHeavenlyBodyGeometry(LLDrawable *drawable, const S32 side, LLHeavenBody& hb, const LLVector3 &up, const LLVector3 &right); void updateReflectionGeometry(LLDrawable *drawable, F32 H, const LLHeavenBody& HB); |