Azaezel
|
04a6130df8
sync correction
|
6 years ago |
Azaezel
|
caf73ea84f
Merge branch 'PBR_ProbeArrayWIP' of https://github.com/Areloch/Torque3D into PBR_ProbeArrayWIP
|
6 years ago |
Areloch
|
2bf67f7fa5
Corrections to make it use the correct transform, as well as passing along the scale as our extents in the bbMax.
|
6 years ago |
Azaezel
|
edcdd21379
suggested alterations to the probe.worldToLocal math feeding and usage (and a divnull safety for attenuation)
|
6 years ago |
Areloch
|
70d85d2241
Begun hook-in of skylight into array
|
6 years ago |
Areloch
|
2903aaeea0
WIP of the rewrite of blend/projection to follow BSF's math approach.
|
6 years ago |
Azaezel
|
c1bf59bf07
destructor code+ removed a crash-causing redundancy in onRemove
|
6 years ago |
Azaezel
|
309d518249
scale reflection properly
|
6 years ago |
Azaezel
|
5bce2d0904
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.
|
6 years ago |
Areloch
|
87e9d3edbd
Correct stateblock settings to display probes more correctly without crushing other forward elements.
|
6 years ago |
Areloch
|
b754c022ba
Corrected the blending logic somewhat, added visualization modes for spec/diffuse probe influences, attenuation and contribution.
|
6 years ago |
Areloch
|
788e265477
Finished current cleanup/reorg.
|
6 years ago |
Areloch
|
58e3349286
Further cleanup, proper hook-in of CubeReflector for bake capture.
|
6 years ago |
Areloch
|
fd8840ff53
Updated the PostFX ability to setShaderConsts and cubetextures for probes
|
6 years ago |
Areloch
|
64db2b1d15
Ongoing PostFX org rework.
|
6 years ago |
Areloch
|
b221b312d2
Org rework and postFX-setup WIP
|
6 years ago |
Azaezel
|
72acec0a3f
set the alignedarray sizes to maxprobes, reguardless of actual probe count
|
6 years ago |
Azaezel
|
f031ee9e39
duplication cleanups
|
6 years ago |
Azaezel
|
0caac1a28c
cut down on some of that per-frame allocation via prepping our vector 'registers' during the constructor
|
6 years ago |
Azaezel
|
4aa371cea2
remove push_back uses in favor of consistent [i], fill probe data with defaults before overriding to ensure no garbage data is getting referenced.
|
6 years ago |
Azaezel
|
7837576de7
conversionwork courtessy of jeff. seeems float3f aligned arrays were nonfuncntional, so shifts a few over to float4s
|
6 years ago |
Areloch
|
847d58a967
Progress in getting array data to comply.
|
6 years ago |
Azaezel
|
2eb58e4cb7
portwork from jeff to use farFrustumQuad for the vertex shader
|
6 years ago |
Areloch
|
b03e7a79b7
Broke it down to work with a single probe for confirmation of general math and behavior.
|
6 years ago |
Areloch
|
3efbdbf9e1
Shifts the verts used to match the fullscreen quad setup of vector light, utilizing FarFrustuQuadVerts
|
6 years ago |
Azaezel
|
26ee0d986f
reference cleanups:
|
6 years ago |
Azaezel
|
1dfd130d85
explicitly bound the namedtexttargets to input slots. shifted brdf slot on up to 3 (from 5) to cluster flat vs array entries. though it does not appear at time of writing that that is in fact binding...
|
6 years ago |
Azaezel
|
7a8dd96808
should only need to set the brdf texture the once
|
6 years ago |
Azaezel
|
1607f58bc4
typofix for bbMinArray, cubemap array lookups for irradiance and spec
|
6 years ago |
Areloch
|
2abdef7459
Collapse the ProbeManager into RenderProbeMgr to simplify the probe management/rendering behavior(as the game sim doesn't require simple access to probe data, unlike lights)
|
6 years ago |