Areloch
|
6db975e81c
random testing bits trying to isolate remaining forward issues.
|
преди 6 години |
AzaezelX
|
404cb929c1
we likely don't want to be overwriting that set of cubemap array registers for every forward lit object instance
|
преди 6 години |
AzaezelX
|
b5436b6cb7
tweaked the updating behavior in the probe manager so calling updateProbes just flags a ProbesDirty bool, which is used to kick the update of the static parameters when the bin's render() is called
|
преди 6 години |
AzaezelX
|
d034ea2be8
no point in resetting effectiveprobecount or mipcount in the compute4probes method. the latter is going to remain a fixed global var to support the cubemap arrays while the latter isn't even used by forward lit (though it likely should be, rather than trying to cook up 2 bound vectors)
|
преди 6 години |
AzaezelX
|
a0d1a076d5
Merge branch 'PBR_ProbeArrayForward' into PBR_ProbeArrayGLWIP
|
преди 6 години |
Areloch
|
000c7b2263
GL work
|
преди 6 години |
AzaezelX
|
0cd8948fcf
stray var killoffs
|
преди 6 години |
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 години |