AzaezelX
|
15ca6eabb4
cleanup duplicate var, and constructor-init skylight shaderconsts
|
пре 6 година |
Areloch
|
c025760422
Majority of forward work. Some state/register count issues and further testing required.
|
пре 6 година |
Areloch
|
afb5a589c3
Cleanup/consolidation of shader logic. moved the common methods over to lighting.hlsl
|
пре 6 година |
Azaezel
|
5703618dc0
shift bbminmax to relative when sent to the gpu so folks can stick to realworld values
|
пре 6 година |
Areloch
|
e2b194182c
Undid debug work, shifted logic over entirely to utilize the updateTexture methods. Refactored probe init'ing so they'll load correctly without nudging, properly sequestered skylights from the probe array and updated the shader to contain az's changes as well as skylight and probe array changes.
|
пре 6 година |
Areloch
|
1627cbabe6
ongoing WIP to sort out init'ing issues as well as correcting values so the probes actually correctly update data into the arrays
|
пре 6 година |
Areloch
|
26471aaa77
WIP of timmy's changes merged in. Not properly initializing the probes/array slots just yet.
|
пре 6 година |
Azaezel
|
ba8948a5b1
hook up attenuation value. todo: sort networkjing properly
|
пре 6 година |
Azaezel
|
df6b7f3351
put probe.boxmax/min code back as it was prior to merge. still having that /4 oddness.
|
пре 6 година |
Azaezel
|
04a6130df8
sync correction
|
пре 6 година |
Azaezel
|
caf73ea84f
Merge branch 'PBR_ProbeArrayWIP' of https://github.com/Areloch/Torque3D into PBR_ProbeArrayWIP
|
пре 6 година |
Areloch
|
2bf67f7fa5
Corrections to make it use the correct transform, as well as passing along the scale as our extents in the bbMax.
|
пре 6 година |
Azaezel
|
edcdd21379
suggested alterations to the probe.worldToLocal math feeding and usage (and a divnull safety for attenuation)
|
пре 6 година |
Areloch
|
70d85d2241
Begun hook-in of skylight into array
|
пре 6 година |
Areloch
|
2903aaeea0
WIP of the rewrite of blend/projection to follow BSF's math approach.
|
пре 6 година |
Azaezel
|
c1bf59bf07
destructor code+ removed a crash-causing redundancy in onRemove
|
пре 6 година |
Azaezel
|
309d518249
scale reflection properly
|
пре 6 година |
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 година |
Areloch
|
87e9d3edbd
Correct stateblock settings to display probes more correctly without crushing other forward elements.
|
пре 6 година |
Areloch
|
b754c022ba
Corrected the blending logic somewhat, added visualization modes for spec/diffuse probe influences, attenuation and contribution.
|
пре 6 година |
Areloch
|
788e265477
Finished current cleanup/reorg.
|
пре 6 година |
Areloch
|
58e3349286
Further cleanup, proper hook-in of CubeReflector for bake capture.
|
пре 6 година |
Areloch
|
fd8840ff53
Updated the PostFX ability to setShaderConsts and cubetextures for probes
|
пре 6 година |
Areloch
|
64db2b1d15
Ongoing PostFX org rework.
|
пре 6 година |
Areloch
|
b221b312d2
Org rework and postFX-setup WIP
|
пре 6 година |
Azaezel
|
72acec0a3f
set the alignedarray sizes to maxprobes, reguardless of actual probe count
|
пре 6 година |
Azaezel
|
f031ee9e39
duplication cleanups
|
пре 6 година |
Azaezel
|
0caac1a28c
cut down on some of that per-frame allocation via prepping our vector 'registers' during the constructor
|
пре 6 година |
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 година |
Azaezel
|
7837576de7
conversionwork courtessy of jeff. seeems float3f aligned arrays were nonfuncntional, so shifts a few over to float4s
|
пре 6 година |