Flag some TODO's
This commit is contained in:
parent
a6901fd00a
commit
4f10f8eaee
6 changed files with 13 additions and 3 deletions
|
@ -57,6 +57,8 @@ static const char *TextureOffset =
|
|||
|
||||
static CVertexProgram TextureOffsetVertexProgram(TextureOffset);
|
||||
|
||||
// TODO_VP_GLSL
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
|
@ -563,6 +563,7 @@ void CLandscapeVBAllocator::setupVBFormatAndVertexProgram(bool withVertexProgr
|
|||
string vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
||||
string(NL3D_LandscapeFar0EndProgram);
|
||||
_VertexProgram[0]= new CVertexProgram(vpgram.c_str());
|
||||
// TODO_VP_GLSL
|
||||
}
|
||||
else if(_Type==Far1)
|
||||
{
|
||||
|
@ -580,6 +581,7 @@ void CLandscapeVBAllocator::setupVBFormatAndVertexProgram(bool withVertexProgr
|
|||
string vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
||||
string(NL3D_LandscapeFar1EndProgram);
|
||||
_VertexProgram[0]= new CVertexProgram(vpgram.c_str());
|
||||
// TODO_VP_GLSL
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -597,11 +599,13 @@ void CLandscapeVBAllocator::setupVBFormatAndVertexProgram(bool withVertexProgr
|
|||
string vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
||||
string(NL3D_LandscapeTileEndProgram);
|
||||
_VertexProgram[0]= new CVertexProgram(vpgram.c_str());
|
||||
// TODO_VP_GLSL
|
||||
|
||||
// Init the Vertex Program for lightmap pass
|
||||
vpgram= string(NL3D_LandscapeCommonStartProgram) +
|
||||
string(NL3D_LandscapeTileLightMapEndProgram);
|
||||
_VertexProgram[1]= new CVertexProgram(vpgram.c_str());
|
||||
// TODO_VP_GLSL
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -158,6 +158,7 @@ void CMeshVPWindTree::initInstance(CMeshBaseInstance *mbi)
|
|||
+ CRenderTrav::getLightVPFragment(numPls, VPLightConstantStart, specular, normalize)
|
||||
+ WindTreeVPCodeEnd;
|
||||
_VertexProgram[i]= std::auto_ptr<CVertexProgram>(new CVertexProgram(vpCode.c_str()));
|
||||
// TODO_VP_GLSL
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -602,7 +602,7 @@ void CVegetableManager::initVertexProgram(uint vpType, bool fogEnabled)
|
|||
|
||||
// create VP.
|
||||
_VertexProgram[vpType][fogEnabled ? 1 : 0] = new CVertexProgram(vpgram.c_str());
|
||||
|
||||
// TODO_VP_GLSL
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -223,6 +223,7 @@ static CVertexProgram *BuildWaterVP(bool diffuseMap, bool bumpMap, bool use2Bump
|
|||
|
||||
vp += "\nEND";
|
||||
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));
|
||||
_VertexProgramNoBumpDiffuse = std::auto_ptr<CVertexProgram>(BuildWaterVP(true, false, false));
|
||||
// no waves
|
||||
_VertexProgramNoWave.reset(new CVertexProgram(WaterVPNoWave));
|
||||
_VertexProgramNoWaveDiffuse.reset(new CVertexProgram(WaterVPNoWaveDiffuse));
|
||||
_VertexProgramNoWave.reset(new CVertexProgram(WaterVPNoWave)); // TODO_VP_GLSL
|
||||
_VertexProgramNoWaveDiffuse.reset(new CVertexProgram(WaterVPNoWaveDiffuse)); // TODO_VP_GLSL
|
||||
created = true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -86,6 +86,8 @@ static const char *DecalAttenuationVertexProgramCode =
|
|||
|
||||
static NL3D::CVertexProgram DecalAttenuationVertexProgram(DecalAttenuationVertexProgramCode);
|
||||
|
||||
// TODO_VP_GLSL
|
||||
|
||||
|
||||
typedef CShadowPolyReceiver::CRGBAVertex CRGBAVertex;
|
||||
|
||||
|
|
Loading…
Reference in a new issue