mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 23:24:41 +00:00
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:
parent
404cb929c1
commit
d2a01ece03
5 changed files with 256 additions and 52 deletions
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue