mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-18 22:23:48 +00:00
seperated offset from position (we pass the net to the shader for use in the reflection box), and added a scalar (also only used in the reflection box). maked both as probeRef to denote reflection parameters.
This commit is contained in:
parent
04b3509e6c
commit
5c356519e4
5 changed files with 43 additions and 26 deletions
|
|
@ -67,7 +67,8 @@ struct ProbeRenderInst : public SystemInterface<ProbeRenderInst>
|
|||
|
||||
Box3F mBounds;
|
||||
Point3F mPosition;
|
||||
Point3F mProbePosOffset;
|
||||
Point3F mProbeRefOffset;
|
||||
Point3F mProbeRefScale;
|
||||
|
||||
GFXCubemapHandle mCubemap;
|
||||
GFXCubemapHandle mIrradianceCubemap;
|
||||
|
|
@ -161,6 +162,7 @@ class RenderProbeMgr : public RenderBinManager
|
|||
U32 mEffectiveProbeCount;
|
||||
S32 mMipCount;
|
||||
Vector<Point4F> probePositionsData;
|
||||
Vector<Point4F> probeRefPositionsData;
|
||||
Vector<MatrixF> probeWorldToObjData;
|
||||
Vector<Point4F> probeBBMinData;
|
||||
Vector<Point4F> probeBBMaxData;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue