Ignore:
Timestamp:
Apr 22, 2012, 4:51:35 PM (12 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • experimental/distortionNG/DistortionSet.h

    r360 r361  
    6161        osg::Switch* getDistortionInternals()   { return _distortionInternals; }
    6262
    63 
     63        osg::Shader* getShaderIntensityMap()    { return shaderIntensityMap; }
     64        void setShaderIntensityMap(osg::Shader* shader) { shaderIntensityMap = shader; }
     65        osg::Shader* getShaderIntensityMapVis() { return shaderIntensityMapVis; }
     66        void setShaderIntensityMapVis(osg::Shader* shader)      { shaderIntensityMapVis = shader; }
    6467
    6568
     
    113116        osg::observer_ptr<osg::Camera> _camera; // is used to pass the distortion cam from osgViewers setupDistortion() method to the manipulator.
    114117        osg::ref_ptr<osg::Switch> _distortionInternals; // definition: child #0 = mesh, #1 = highlighter, #2 HUD
     118
     119        osg::ref_ptr<osg::Shader> shaderIntensityMap;   // used in 99%, it provides active intensity map blending
     120        osg::ref_ptr<osg::Shader> shaderIntensityMapVis;        // only used during setup process, this shaders discards the fragment color and only displays the intensitymapcolor to visualize the blendmap
    115121};
    116122
Note: See TracChangeset for help on using the changeset viewer.