Commit graph

284 commits

Author SHA1 Message Date
Samuel Skiff
606da2e8ba Merge remote-tracking branch 'refs/remotes/upstream/development'
Conflicts:
	Templates/BaseGame/game/core/postFX/scripts/default.postfxpreset.tscript
2022-08-30 05:16:25 -05:00
Samuel Skiff
76bdccd244 Bloom Tweaks 2022-08-30 05:10:26 -05:00
Samuel Skiff
02be085847 Merge remote-tracking branch 'refs/remotes/upstream/development'
Conflicts:
	Templates/BaseGame/game/core/postFX/scripts/default.postfxpreset.tscript
2022-08-30 02:01:29 -05:00
Samuel Skiff
af60fcb709 Bloom Tweaks (& Improvements, Thanks yeaf!) 2022-08-30 01:34:30 -05:00
Areloch
fb5ad738e0
Merge branch 'development' into MiscFixes20220829 2022-08-30 01:31:42 -05:00
Areloch
cd82186231 Fixes setter issue for image/shape/material custom inspector fields where it was not correctly passing through the changed value from the Asset Browser select
Swapped the water's disableTrueReflections variable to be enableTrueReflections for simplicity and consistency(also fixed a persistent typo)
Swapped disableVerticalSync to be enableVerticalSync for simplicity and consistency
Swapped disableParallaxMapping to be enableParallaxMapping for simplicity and consistency
Fix click detection on slider mode entries for guiGameSettingsCtrl so the click position correctly matches the percentage
Fixed problem where postFX initialization would always exec default.postfxpreset.tscript, even if a level's got it's own preset, which can cause problems
Fixed range field type behavior so that editing the values applies in real time, and also consistently applies between slider and text field
2022-08-30 01:29:39 -05:00
Samuel Skiff
1f0ff8e418 Bloom Tweaks 2022-08-29 04:55:36 -05:00
Samuel Skiff
e4999a3351 Bloom GL Fix 2022-08-29 00:11:08 -05:00
Samuel Skiff
ce1a542d69 Bloom Tweaks 2022-08-28 23:31:03 -05:00
AzaezelX
eda7862f7d correct tag 2022-08-28 23:23:01 -05:00
AzaezelX
433149a0af mat3 is the other hand from matrix3x3
also vec3 from float3 for consistency
2022-08-28 22:58:40 -05:00
AzaezelX
05409537b0 eroneous convertsion leftover 2022-08-28 22:31:01 -05:00
AzaezelX
7efc7281db from yeaf - HDR revamp
gl side is wipwork
2022-08-28 22:24:23 -05:00
GoldenThumbs
6832086ecb
Merge branch 'TorqueGameEngines:development' into development_gld 2022-08-27 20:35:13 -05:00
AzaezelX
111f0c840d probe capture cleanups pt1
fix high-metalness object capture (had the lerp the wrong direction for canceling out NULL-ibl due to full metallic)
use dStrcmp for (Con::getVariable("$Probes::Capturing", "0") comparisons. and early out on rendering probes when we are capturing, not when we aren't.
2022-08-27 17:25:35 -05:00
GoldenThumbs
666de4ab36
Merge branch 'TorqueGameEngines:development' into development_gld 2022-08-27 00:23:36 -05:00
Brian Roberts
63d8c5a699
Merge pull request #860 from Areloch/MiscFixes20220825
Misc Fixes for 2022/08/25
2022-08-26 22:09:46 -05:00
Samuel Skiff
26801dbe77 Bloom Tweaks & OpenGL Support 2022-08-26 18:05:25 -05:00
Areloch
ded99cd8cb * Fixes handling for Image, Material and Shape Assets' inspector fields so they properly work with non-object targeted inspectors, such as the PostFXEditor
* Updated PostFXEditor scripts to handle refreshing properly when certainl field types(assetId fields) are changed
* Adjusted display handling of slider values on guiGameSettingsCtrl to show 0.x decimal format instead of 0.xxxxx
* Fixed pad length of item names in guiTreeView for items that are marked to avoid console spam
* Fixed local offseting for popupMenus so scaled/offset window position doesn't cause the popup menu to offset from mouse click position(courtesy OTHG_Mars)
* Fix issue with terrain where, due to default value save validation, the global scope for the terrain collision list would be whiped when saving, causing players to fall through terrain. Moved to per-terrain convexLists
* Fixed issue with the core camera model mesh and updated references so camera bookmarks display properly
* Fixed console spam during asset browser initialization where it would try and expand the directory tree even though the dir tree isn't populated yet
* Fixed handling of Open File Location RMB menu action to properly deal with script and datablock types
* Removed unusuable "Create ___" asset type prompts from the RMB menus for the AB to avoid confusion
* Improved slider offset positioning for various popup sliders on editor toolbars
* Anchored the visibility popup menu to the button for more consistent formatting and better feel
* Shifted various visibility toggles from 'in place' on the menu buttons to functions, allowing it to also properly mark the menu entries as checked or not, improving usability
2022-08-26 15:25:17 -05:00
AzaezelX
743f5ec380 probe blend adjustments
adjust probe vs probe blend to further mitigate overlap artifacts while preserving probe vs skylight falloff blending
2022-08-24 13:57:43 -05:00
Samuel Skiff
963d226f43 Bloom Tweaks 2022-08-24 12:29:38 -05:00
Samuel Skiff
ecf7298c68 Bloom Updates 2022-08-24 11:54:18 -05:00
Samuel Skiff
633053a307 Bloom Tweaks 2022-08-23 03:44:48 -05:00
Samuel Skiff
99d8f28957 Added Lens Dirt 2022-08-23 01:02:00 -05:00
Samuel Skiff
cc1ef4d627 Bloom Tweaks 2022-08-22 21:09:14 -05:00
Samuel Skiff
878b2e2aec Bloom Tweaks 2022-08-21 01:55:25 -05:00
Samuel Skiff
820e1972b0 bloom bug hunting 2022-08-20 18:37:02 -05:00
Samuel Skiff
ade74c1016 BloomWIP 1 2022-08-19 18:26:55 -05:00
Brian Roberts
34f2234399
Merge pull request #856 from Azaezel/alpha401/metalunmangle
specular code review.
2022-08-17 08:30:20 -05:00
Brian Roberts
a24889d44d
Merge pull request #854 from Azaezel/alpha401/pfxDefaultAlt
postfx defaults (and HDR aug)
2022-08-17 08:30:10 -05:00
AzaezelX
ee6481153f specular code review.
the CAPTURING flag was being improperly checked for existence instead of state, leading to overbrightness in the precence of metalness. removed hacky workaround, and applied the proper fix.
also foreshortened the roughness range to avoid values outside of f0 going asymptotic.
alternative suggestion for if that portion plays up:
   surface.roughness = pbrProperties.b*0.92f+0.04f;
to
  clamp(gbuffer2.b, 0.04f, 0.96f);
(basically a case of do we support more fine-grained differences or just chuck anything too extreem)
2022-08-17 05:47:11 -05:00
Brian Roberts
d1563cb7fa
Update default.postfxpreset.tscript
fix pref varname
2022-08-16 18:07:21 -05:00
AzaezelX
87ea1924c4 up $PostFX::HDRPostFX::brightPassThreshold default to 0.2; 2022-08-16 17:49:18 -05:00
AzaezelX
aa1e9113fe postfx defaults (and HDR aug)
courtessy of @Caetth
2022-08-16 17:34:53 -05:00
AzaezelX
376a57aac5 adjust moonglow materials to be explicitly lerplapha now that we default to premul for everything else.
add corona_mat. to fix drag and drop sun display.
add lensflare_image
2022-08-16 12:07:37 -05:00
Brian Roberts
4bbf537796
Merge pull request #847 from Azaezel/alpha401/killstreak
clean up fallback sky art
2022-08-15 22:42:43 -05:00
AzaezelX
f0e882cc22 clean up fallback sky art 2022-08-15 17:56:48 -05:00
AzaezelX
497dfb5de7 supress smallborderless support
for multi-monitor setups, allowing smaller than screensize borderless windows was causing issues swapping the window between them. short circuited that but left it in in case someone *really* wants to make that  along term project
2022-08-15 17:01:10 -05:00
Brian Roberts
e708ae53d2
Merge pull request #823 from Azaezel/alpha40/tamltypos
fix a pair of taml typos
2022-06-24 16:23:44 -05:00
AzaezelX
0b1da8c5ca fix a pair of taml typos 2022-06-22 19:10:36 -05:00
Robert MacGregor
7e896425f6 * BugFix: Correct a missing asset for filling the background of the bottom of the console. 2022-06-21 23:28:38 -04:00
Robert MacGregor
3dafdef5da * BugFix: Mount home:/ to refer to Torque's original Documents/<APPNAME> output for eg. prefs while leaving data:/ as an option for those that may want it. 2022-06-13 10:53:01 -04:00
Robert MacGregor
161ffc62fe Merge branch 'Preview4_0' into feature-vfs-security 2022-06-13 08:05:26 -04:00
AzaezelX
e60927f2f7 opengl does *not* like casting floats to vec#s as a general rule. 2022-06-12 15:08:00 -05:00
AzaezelX
de6ee93159 slim ambient down to vec3, default to premul for translucency 2022-06-07 22:05:47 -05:00
AzaezelX
5be18a4638 allow ambient light injection into ibl 2022-06-06 17:50:34 -05:00
JeffR
1acf4b2dae Adjusts engine cleanup ordering on shaderFeatureMgr to avoid periodic crashes on Mac ARM machines
Adds missing disconnect/timeout handling callbacks to the clientServer core module
Adds page refresh function to UINavigation to be able to selectively nudge the current page to refresh its contents if needbe
2022-06-05 01:21:38 -05:00
JeffR
c7763fe3ec Added cleanup of exec stack for module when it's finished to avoid duplicate executions
Added proper container bracketing for the main menu buttons and made that the main navigation target
Added logic to UINav to prevent needlessly re-setting the root page if it already is the root page, which would break the navigation stack
Added logic to UINav toprevent needlessly adding duplicate pages whicn would break the navigation stack
Added logic to close the chooseLevelDlg page when the level is loaded to avoid the page being left hanging on the nav stack
Fixed assetId for no preview image fallback on the chooseLevelDlg page
Fixed display of icons in the shape editor shape helper section
Fixed name lookup on terrain material editor dialogue which would break saving of terrain materials
Disables TORQUE_SFX_DirectX which is currently not in use and nonfunctional
2022-06-02 20:17:23 -05:00
Brian Roberts
516163fd5d
Merge pull request #781 from Areloch/MiscFixes20220510
Misc Fixes for 2022/05/10
2022-05-11 01:15:07 -05:00
JeffR
8aed00ec4d Fixed graphical level values to set defaultAnisotropy instead of vsync
Forced update of cursor position when using keyboard/mouse on options menu when changing an option to re-establish focus after refresh
Updated missed bitmap field on GuiPopupMenuItemBorder to use assetId
Made folders display before other preview entries in the AB for ease of navigation
Fixed issue where when re-opening the AB the path would reset, especially with select mode
Fixed issue when generating previews for materials, terrain materials and shapes where the very first time the preview generated it wouldn't map correctly
Cleaned up some old commented code blocks
Added text to the Open menubar entry in the GUIEditor to indicate it opens files specifically to add clarity
2022-05-11 00:58:14 -05:00