summaryrefslogtreecommitdiff
path: root/indra/llprimitive/llmaterial.h
diff options
context:
space:
mode:
authorAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-12-09 23:17:21 +0200
committerAndrey Kleshchev <andreykproductengine@lindenlab.com>2020-12-09 23:18:20 +0200
commitd1c88237c5b5d027ee8891c4013ea8580f5f4364 (patch)
treee1c3625ed5ec035c9cbc5648e39ce0bb2619afba /indra/llprimitive/llmaterial.h
parente538aaabc77deb48b2a724029ccf21ca1eec6694 (diff)
Revert "SL-12069 Issues with bakes-on-mesh and alpha modes"
This reverts commit afd734b5f4ba66204f80f7726aa5fec538fcf1e4. Fix will be updated and moved to DRTVWR-515.
Diffstat (limited to 'indra/llprimitive/llmaterial.h')
-rw-r--r--indra/llprimitive/llmaterial.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/indra/llprimitive/llmaterial.h b/indra/llprimitive/llmaterial.h
index 1207917568..d58b7ee812 100644
--- a/indra/llprimitive/llmaterial.h
+++ b/indra/llprimitive/llmaterial.h
@@ -115,17 +115,8 @@ public:
void setSpecularLightExponent(U8 exponent);
U8 getEnvironmentIntensity() const;
void setEnvironmentIntensity(U8 intensity);
-
- // getDiffuseAlphaModeRender takes into account if image supports alpha
- // and returns value apropriate for render
- // getDiffuseAlphaMode() returns value as is
- U8 getDiffuseAlphaModeRender() const;
U8 getDiffuseAlphaMode() const;
void setDiffuseAlphaMode(U8 alpha_mode);
- U32 getDiffuseFormatPrimary() const;
- void setDiffuseFormatPrimary(U32 format_primary);
- bool getIsDiffuseBaked() const;
- void setDiffuseBaked(bool baked);
U8 getAlphaMaskCutoff() const;
void setAlphaMaskCutoff(U8 cutoff);
@@ -156,8 +147,6 @@ protected:
U8 mSpecularLightExponent;
U8 mEnvironmentIntensity;
U8 mDiffuseAlphaMode;
- U32 mDiffuseFormatPrimary; // value from texture, LLGLenum, is not included in fromLLSD/asLLSD
- bool mDiffuseBaked; // is not included in fromLLSD/asLLSD
U8 mAlphaMaskCutoff;
};