gl conversionwork - forward lit variant. do note, crashs with

`Engine\source\gfx\gfxDevice.cpp(837,0): {Fatal} - GFXDevice::setTexture - out of range stage! -1>16` though the shaders themselves are now in a compling state (ostensibly)
This commit is contained in:
AzaezelX 2019-04-28 06:24:19 -05:00
parent 404cb929c1
commit d2a01ece03
5 changed files with 256 additions and 52 deletions

View file

@ -673,22 +673,22 @@ public:
/// Reflection Probes
class ReflectionProbeFeatGLSL : public ShaderFeatureGLSL
{
protected:
ShaderIncludeDependency mDep;
public:
virtual void processVert(Vector<ShaderComponent*> &componentList,
const MaterialFeatureData &fd) {}
ReflectionProbeFeatGLSL();
virtual void processPix(Vector<ShaderComponent*>& componentList,
const MaterialFeatureData& fd);
virtual void processPix(Vector<ShaderComponent*> &componentList,
const MaterialFeatureData &fd) {}
virtual Resources getResources(const MaterialFeatureData &fd) {
return Resources();
}
virtual Resources getResources(const MaterialFeatureData& fd);
// Sets textures and texture flags for current pass
virtual void setTexData(Material::StageData &stageDat,
const MaterialFeatureData &fd,
RenderPassData &passData,
U32 &texIndex) {}
virtual void setTexData(Material::StageData& stageDat,
const MaterialFeatureData& fd,
RenderPassData& passData,
U32& texIndex);
virtual String getName()
{