AzaezelX
593d0ef9f0
lighting corrections:
...
1) fix spotlight shadow casting. we weren't properly accounting for reversedepthbuffer there
2) fix mismatched variables in forward lit spotlight param array
3) use disney diffuse in the generalized brdf, and apply it for spotlights after angular attenuation, not before
4) .provide a generailze luxTargMultiplier approach for spot and point lights (as well as future growth areas) so that range, angle ect can impact the brightness variable sent to a given light source shader without perpixel overhead
5) for spotlightParams in particular, use sizeof(point4f) for the alignedarray untill that's properly reviewed/revised
6) narrow attenuation slightly based on a given lights dot product to prevent tool vs outcome leakage, plus provide safeties for when a given spotslight's inner and outter angles match identially
2023-11-18 19:05:12 -06:00
Areloch
59247bd9ca
Moves the world Editor guis to be based through a tabbed structure to make it easier to begin separating out editor/tool guis into their own tabs or elements for better separation.
...
Currently establishes the MainScene tab and otherwise retains existing behavior directly
2023-11-14 18:58:58 -06:00
AzaezelX
d24df92a8b
Revert "provide a new levelinfo. fallbackAmbient value for scenes with no global light source"
...
This reverts commit 270cf0e054 .
2022-08-27 15:14:09 -05:00
AzaezelX
270cf0e054
provide a new levelinfo. fallbackAmbient value for scenes with no global light source
2022-08-23 13:59:48 -05:00
AzaezelX
2e56645f13
shifts spotlightparams to the actually used float2/vec2 entries (stops debug screaming every frame)
2019-11-07 23:18:14 -06:00
Areloch
ebe2c2dead
Add vector light support to forward materials.
2019-07-22 00:16:58 -05:00
Areloch
e87dc787ee
Corrected probe init'ing so they don't fight for the cubemap idx order
...
Also correct deleting behavior so it updates indicies when a probe is removed
Updated forward lighting to utilize the same math as deferred
2019-06-30 23:04:16 -05:00
Areloch
af77444ec9
Merge branch 'MatInstanceViewer' of https://github.com/Areloch/Torque3D into Preview4_0
...
Fixed up forward IBL
Reimplemented old forward light shader code as a baseline so it can be updated to new PBR math
2019-06-27 00:36:56 -05:00
AzaezelX
dd1470202d
Merge branch 'development' of https://github.com/GarageGames/Torque3D into PBR_ProbeArrayGLWIP
...
# Conflicts:
# Engine/source/gfx/D3D11/gfxD3D11Device.cpp
# Engine/source/lighting/lightManager.cpp
# Templates/Full/game/levels/Empty Room.mis
# Templates/Full/game/levels/Empty Terrain.mis
2019-05-01 23:18:31 -05:00
Azaezel
8e9468bddb
surpress nonrendered lights killoff method till we've time to revisit that
2019-04-04 20:56:57 -05:00
Areloch
c0e8b047f5
Shifted the rest of the probe render code to hook into the array'd uniforms, made the reflection probe shader definition refer to the array shader.
2019-01-19 00:31:42 -06:00
Areloch
1fc38d496f
Added deletion tracking so when we delete a probe, it'll delete the prefilter/irrad bakes if they exist.
...
WIP of static cubemap bake(not working).
2018-12-07 00:30:08 -06:00
Azaezel
74ca8d106c
retweaked filter for wether ot not to supress the zonelight culling methods when not in the diffuse pass
2018-12-05 10:55:29 -06:00
Azaezel
bd742bbf75
registergloballights now taks a (by default on) cullSceneLights. off for reflection capture as that is presently acting up
2018-12-04 12:41:15 -06:00
Areloch
124ecb2fe0
Merge pull request #1984 from FooBarbarians/fix-1912
...
Reordering initialization methods #1912
2017-04-26 01:11:51 -05:00
Masquara
15f67015d3
Reordering initialization methods #1912
2017-04-19 14:02:45 -04:00
Areloch
af8fbf0e3a
Goes and replaces the references/names that use Prepass to be Deferred, since we're actually using deferred.
2017-04-11 00:23:14 -05:00
Thomas "elfprince13" Dickerson
1c2b096a72
Whitespace consistency
2017-01-06 23:10:14 -05:00
Thomas "elfprince13" Dickerson
88106f9032
Fixed type inference for nulls in console functions
2017-01-06 17:18:37 -05:00
Areloch
dfb8f4f5e5
Makes point and spot lights be correctly culled with zoning like other objects.
2016-06-17 00:47:46 -05:00
LuisAntonRebollo
f101fbe820
Remove unnecesary code for handle OpenGL.
2014-11-08 18:11:35 +01:00
bank
d2700f881c
Source changes needed for Linux build.
2012-09-23 15:31:56 +04:00
DavidWyand-GG
7dbfe6994d
Engine directory for ticket #1
2012-09-19 11:15:01 -04:00