![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2011 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: $ $Revision: $ $State: $ 00007 ******************************************************************************/ 00008 00012 00013 #pragma once 00014 #include <vrvOsg/vrvOsg.h> 00015 #include <osgEarth/ShaderComposition> 00016 00017 namespace makVrv 00018 { 00019 class DT_DLL_VRVOSG DtOsgEarthShaderFactory : public osgEarth::ShaderFactory 00020 { 00022 virtual osg::Shader* createVertexShaderMain( 00023 const osgEarth::ShaderComp::FunctionLocationMap& functions = osgEarth::ShaderComp::FunctionLocationMap() ) const; 00029 virtual osg::Shader* createDefaultLightingFragmentShader() const; 00030 00031 }; 00032 } 00033