Flag some TODO's

--HG--
branch : multipass-stereo
This commit is contained in:
kaetemi 2013-09-09 20:55:23 +02:00
parent 87b24bc4ab
commit bb625c33bd
6 changed files with 13 additions and 3 deletions

View file

@ -57,6 +57,8 @@ static const char *TextureOffset =
static CVertexProgram TextureOffsetVertexProgram(TextureOffset); static CVertexProgram TextureOffsetVertexProgram(TextureOffset);
// TODO_VP_GLSL
//----------------------------------------------------------------------------------------------------------- //-----------------------------------------------------------------------------------------------------------

View file

@ -563,6 +563,7 @@ void CLandscapeVBAllocator::setupVBFormatAndVertexProgram(bool withVertexProgr
string vpgram= string(NL3D_LandscapeCommonStartProgram) + string vpgram= string(NL3D_LandscapeCommonStartProgram) +
string(NL3D_LandscapeFar0EndProgram); string(NL3D_LandscapeFar0EndProgram);
_VertexProgram[0]= new CVertexProgram(vpgram.c_str()); _VertexProgram[0]= new CVertexProgram(vpgram.c_str());
// TODO_VP_GLSL
} }
else if(_Type==Far1) else if(_Type==Far1)
{ {
@ -580,6 +581,7 @@ void CLandscapeVBAllocator::setupVBFormatAndVertexProgram(bool withVertexProgr
string vpgram= string(NL3D_LandscapeCommonStartProgram) + string vpgram= string(NL3D_LandscapeCommonStartProgram) +
string(NL3D_LandscapeFar1EndProgram); string(NL3D_LandscapeFar1EndProgram);
_VertexProgram[0]= new CVertexProgram(vpgram.c_str()); _VertexProgram[0]= new CVertexProgram(vpgram.c_str());
// TODO_VP_GLSL
} }
else else
{ {
@ -597,11 +599,13 @@ void CLandscapeVBAllocator::setupVBFormatAndVertexProgram(bool withVertexProgr
string vpgram= string(NL3D_LandscapeCommonStartProgram) + string vpgram= string(NL3D_LandscapeCommonStartProgram) +
string(NL3D_LandscapeTileEndProgram); string(NL3D_LandscapeTileEndProgram);
_VertexProgram[0]= new CVertexProgram(vpgram.c_str()); _VertexProgram[0]= new CVertexProgram(vpgram.c_str());
// TODO_VP_GLSL
// Init the Vertex Program for lightmap pass // Init the Vertex Program for lightmap pass
vpgram= string(NL3D_LandscapeCommonStartProgram) + vpgram= string(NL3D_LandscapeCommonStartProgram) +
string(NL3D_LandscapeTileLightMapEndProgram); string(NL3D_LandscapeTileLightMapEndProgram);
_VertexProgram[1]= new CVertexProgram(vpgram.c_str()); _VertexProgram[1]= new CVertexProgram(vpgram.c_str());
// TODO_VP_GLSL
} }
} }

View file

@ -158,6 +158,7 @@ void CMeshVPWindTree::initInstance(CMeshBaseInstance *mbi)
+ CRenderTrav::getLightVPFragment(numPls, VPLightConstantStart, specular, normalize) + CRenderTrav::getLightVPFragment(numPls, VPLightConstantStart, specular, normalize)
+ WindTreeVPCodeEnd; + WindTreeVPCodeEnd;
_VertexProgram[i]= std::auto_ptr<CVertexProgram>(new CVertexProgram(vpCode.c_str())); _VertexProgram[i]= std::auto_ptr<CVertexProgram>(new CVertexProgram(vpCode.c_str()));
// TODO_VP_GLSL
} }
} }

View file

@ -602,7 +602,7 @@ void CVegetableManager::initVertexProgram(uint vpType, bool fogEnabled)
// create VP. // create VP.
_VertexProgram[vpType][fogEnabled ? 1 : 0] = new CVertexProgram(vpgram.c_str()); _VertexProgram[vpType][fogEnabled ? 1 : 0] = new CVertexProgram(vpgram.c_str());
// TODO_VP_GLSL
} }

View file

@ -223,6 +223,7 @@ static CVertexProgram *BuildWaterVP(bool diffuseMap, bool bumpMap, bool use2Bump
vp += "\nEND"; vp += "\nEND";
return new CVertexProgram(vp.c_str()); return new CVertexProgram(vp.c_str());
// TODO_VP_GLSL
} }
@ -330,8 +331,8 @@ void CWaterShape::initVertexProgram()
_VertexProgramNoBump = std::auto_ptr<CVertexProgram>(BuildWaterVP(false, false, false)); _VertexProgramNoBump = std::auto_ptr<CVertexProgram>(BuildWaterVP(false, false, false));
_VertexProgramNoBumpDiffuse = std::auto_ptr<CVertexProgram>(BuildWaterVP(true, false, false)); _VertexProgramNoBumpDiffuse = std::auto_ptr<CVertexProgram>(BuildWaterVP(true, false, false));
// no waves // no waves
_VertexProgramNoWave.reset(new CVertexProgram(WaterVPNoWave)); _VertexProgramNoWave.reset(new CVertexProgram(WaterVPNoWave)); // TODO_VP_GLSL
_VertexProgramNoWaveDiffuse.reset(new CVertexProgram(WaterVPNoWaveDiffuse)); _VertexProgramNoWaveDiffuse.reset(new CVertexProgram(WaterVPNoWaveDiffuse)); // TODO_VP_GLSL
created = true; created = true;
} }
} }

View file

@ -86,6 +86,8 @@ static const char *DecalAttenuationVertexProgramCode =
static NL3D::CVertexProgram DecalAttenuationVertexProgram(DecalAttenuationVertexProgramCode); static NL3D::CVertexProgram DecalAttenuationVertexProgram(DecalAttenuationVertexProgramCode);
// TODO_VP_GLSL
typedef CShadowPolyReceiver::CRGBAVertex CRGBAVertex; typedef CShadowPolyReceiver::CRGBAVertex CRGBAVertex;