Added an experimental new alphamask detection method(set SHUseRMSEAutoMask to TRUE to use. Adjust SHAlphaMaskMaxRMSE to tweak cutoff). Fixed per-frame sky updates hammering analyzeAlpha.
This commit is contained in:
@@ -122,6 +122,8 @@ public:
|
||||
LLViewerTexture(const LLImageRaw* raw, BOOL usemipmaps) ;
|
||||
LLViewerTexture(const U32 width, const U32 height, const U8 components, BOOL usemipmaps) ;
|
||||
|
||||
void setNeedsAlphaAndPickMask(BOOL need_mask) { if(mGLTexturep)mGLTexturep->setNeedsAlphaAndPickMask(need_mask); }
|
||||
|
||||
virtual S8 getType() const;
|
||||
virtual BOOL isMissingAsset()const ;
|
||||
virtual void dump(); // debug info to llinfos
|
||||
|
||||
Reference in New Issue
Block a user