source: obsolete/trunk/BUTE/Ogre/FinalRenderingRuns/SoftShadowFinalRenderingRun.cpp @ 125

Revision 125, 872 bytes checked in by barsi, 20 years ago (diff)

Added a folder remotely

Line 
1//      author: Barnabas Aszodi (BME-IIT)
2
3#include "Ogre.h"
4#include "OgreEffectWrapper.h"
5#include "ManagedOgreRenderTexturePass.h"
6#include "FinalRenderingRun.h"
7
8#include "VRMRenderFinalPass.h"
9
10#include "SoftShadowFinalRenderingRun.h"
11
12
13SoftShadowFinalRenderingRun::SoftShadowFinalRenderingRun(Entity* entity)
14                :FinalRenderingRun(entity)
15{
16        iNumberOfSamples = 0;
17}
18
19
20void SoftShadowFinalRenderingRun::renderSingleEntity(RenderTarget* backBuffer, CubeMapFaces cf)
21{
22
23}
24
25const String& SoftShadowFinalRenderingRun::getSoftShadowMapTexture()
26{
27        return vRMRenderFinalPass->getMaterialName();
28}
29
30unsigned int SoftShadowFinalRenderingRun::getSoftShadowFilteringRate()
31{
32        return iNumberOfSamples;
33}       
34
35void SoftShadowFinalRenderingRun::setSoftShadowFilteringRate(unsigned int usedNumberOfSamples)
36{
37        iNumberOfSamples = usedNumberOfSamples;
38}
Note: See TracBrowser for help on using the repository browser.