mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-29 16:25:42 +00:00
mac compilation correction - don't use Class:Class constructors
This commit is contained in:
parent
ff94af542d
commit
2ef298a145
1 changed files with 5 additions and 5 deletions
|
|
@ -3038,10 +3038,10 @@ void ReflectionProbeFeatGLSL::processPix(Vector<ShaderComponent*>& componentList
|
||||||
Var* surface = new Var("surface", "Surface");
|
Var* surface = new Var("surface", "Surface");
|
||||||
meta->addStatement(new GenOp(" @ = createForwardSurface(@,@,@,@,@,@,@,@);\r\n\n", new DecOp(surface), diffuseColor, bumpNormal, matinfo,
|
meta->addStatement(new GenOp(" @ = createForwardSurface(@,@,@,@,@,@,@,@);\r\n\n", new DecOp(surface), diffuseColor, bumpNormal, matinfo,
|
||||||
inTex, wsPosition, wsEyePos, wsView, worldToCamera));
|
inTex, wsPosition, wsEyePos, wsView, worldToCamera));
|
||||||
String computeForwardProbes = String::String(" @.rgb += computeForwardProbes(@,@,@,@,@,@,@,@,@,\r\n\t\t");
|
String computeForwardProbes = String(" @.rgb += computeForwardProbes(@,@,@,@,@,@,@,@,@,\r\n\t\t");
|
||||||
computeForwardProbes += String::String("@,@,\r\n\t\t");
|
computeForwardProbes += String("@,@,\r\n\t\t");
|
||||||
computeForwardProbes += String::String("@, @, \r\n\t\t");
|
computeForwardProbes += String("@, @, \r\n\t\t");
|
||||||
computeForwardProbes += String::String("@,@).rgb; \r\n");
|
computeForwardProbes += String("@,@).rgb; \r\n");
|
||||||
|
|
||||||
meta->addStatement(new GenOp(computeForwardProbes.c_str(), albedo, surface, cubeMips, numProbes, worldToObjArray, probeConfigData, inProbePosArray, bbMinArray, bbMaxArray, inRefPosArray,
|
meta->addStatement(new GenOp(computeForwardProbes.c_str(), albedo, surface, cubeMips, numProbes, worldToObjArray, probeConfigData, inProbePosArray, bbMinArray, bbMaxArray, inRefPosArray,
|
||||||
hasSkylight, BRDFTexture,
|
hasSkylight, BRDFTexture,
|
||||||
|
|
@ -3080,4 +3080,4 @@ void ReflectionProbeFeatGLSL::setTexData(Material::StageData& stageDat,
|
||||||
passData.mSamplerNames[texIndex] = "skylightIrradMap";
|
passData.mSamplerNames[texIndex] = "skylightIrradMap";
|
||||||
passData.mTexType[texIndex++] = Material::SGCube;
|
passData.mTexType[texIndex++] = Material::SGCube;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue