Commit graph

1353 commits

Author SHA1 Message Date
AzaezelX
4590e14a13 Merge branch 'GuiProfileSoundAssets' of https://github.com/marauder2k9-torque/Torque3D into alpha401/resolveAudioConflict
# Conflicts:
#	Templates/BaseGame/game/data/UI/UI.tscript
#	Templates/BaseGame/game/data/UI/sounds/buttonClick.asset.taml
#	Templates/BaseGame/game/data/UI/sounds/buttonHover.asset.taml
2022-08-29 17:47:07 -05:00
marauder2k7
5d85664b40 Change GuiProfile to use Sound Asset
-Added SoundAssetInspector to bypass circular issue
-Added SoundAsset to GuiTypes
2022-08-29 23:40:51 +01:00
AzaezelX
53b0f0530c soundasset sourcegroup fallback
ensure if there's no assigned sourcegroup, we at least point at "AudioChannelMaster" so overall sound volume can have it's say
turn on button hover and click profiles by unremming the file
assign hoverasset and buttonclick assets to audioChannelGUI
todo: sort volume hooks for non-AudioChannelMaster
long term: resolve the requirement that gui profiles need direct sound profiles instead of the capacity to take assets
2022-08-29 16:36:17 -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
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
Brian Roberts
63d8c5a699
Merge pull request #860 from Areloch/MiscFixes20220825
Misc Fixes for 2022/08/25
2022-08-26 22:09:46 -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
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
Brian Roberts
16a5265256
Merge pull request #853 from Azaezel/alpha401/sunstuffs
adjust moonglow materials to be explicitly lerplapha now that we defa…
2022-08-17 08:29:58 -05:00
Brian Roberts
e8037a1c7b
Merge pull request #855 from Areloch/OptionsIssuesFix
Fixes behavior of various options menu settings to work as expected
2022-08-17 08:29:48 -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
Areloch
ee1e07e757 Fixes behavior of various options menu settings to work as expected 2022-08-16 23:25:01 -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
14872eb4b6
Merge pull request #841 from Azaezel/alpha401/StartupSanity
kill the ap if no valid core directory found.
2022-08-15 22:43:23 -05:00
Brian Roberts
7ff768c876
Merge pull request #844 from Azaezel/alpha401/killBasic
kill advanced or basic lighting render switch in editor
2022-08-15 22:43:13 -05:00
Brian Roberts
3006265175
Merge pull request #849 from Azaezel/alpha401/mainMenuAugs
tool trickerey
2022-08-15 22:43:03 -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
Brian Roberts
7db2862094
Merge pull request #846 from Azaezel/alpha401/killSmallBorderless
supress smallborderless support
2022-08-15 22:42:33 -05:00
Brian Roberts
0c2a31613b
Merge pull request #851 from Areloch/ModalMenuMadness
Fixes ordering of controls on PauseMenu gui so the input handler doesn't eat mouse inputs
2022-08-15 19:42:15 -05:00
Areloch
7bd09dcd7c Fixes ordering of controls on PauseMenu gui so the input handler doesn't eat mouse inputs 2022-08-15 19:23:40 -05:00
AzaezelX
8f1b98a4d6 tool trickerey
label the editor buttons with thier respective hotkeys, and hide them if the ToolsModule doesn't exist
2022-08-15 19:09:25 -05:00
Joseph
8fc193eea2 Add 1440p & 4K resolutions to Gui Editor
Add 2560x1440 (QHD) and 3840x2160 (4K UHD) to the Gui Editor list
2022-08-16 00:21:27 +01: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
AzaezelX
7d6f1d0592 kill advanced or basic lighting render switch in editor
we don't use it, we haven't had it player facing selectable via options menu for years, and we've been actively discouraging folks from poking at The Busted for quite a while now. time it went bye bye
2022-08-14 18:50:47 -05:00
AzaezelX
a6df172b9b kill the ap if no valid core directory found.
closes the application if no core module found, ie folks didn't run install, or the project manager failed to pre-copy folders
2022-08-13 11:56:05 -05:00
Areloch
b3c8e0707d Re-enables reimport of assets if there's no external originalFilePath defined(such as due to in-place import, or file path differs from original importing machine) 2022-08-06 14:05:02 -05:00
JeffR
6355740f6c DBEditor callback fix for asset fields 2022-07-04 18:10:25 -05:00
JeffR
305e4851e0 Fixes issue with using Edit Asset in RMB menu in AB on datablocks where it wouldn't correctly recognize the datablock
Fixes issue where the local sfxProfile in a sfxEmitter would share pointer reference to the utilized shapeAsset's sound buffer, so when it's deleted it would nuke the soundAsset's buffer, causing reference exceptions
Adds includes to torqueConfig.h in several files that are blocked out with TORQUE_TOOLS to ensure that if the flag is on in the config file, the files are loaded/compiled as expected
Add sanity check to AssetManager::unloadAsset to ensure that the assetDef being unloaded was actually correctly loaded/registered into the console in the first place
2022-07-02 23:27:18 -05:00
AzaezelX
fb75b21090 fix unspecified storage location mangle for new asset creation 2022-06-26 10:01:26 -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
JeffR
6d2bfa0368 Adds animations for Playerbot
Fixes PauseMenu navigation behavior and confirms the menu buttons and page nav to standard
Fixes PauseMenu and OptionMenu menu buttons that were not being set correctly on wake
Fixes logic in the shape editor where it wouldn't add new sequences if you were working off a non-assetId sequence in the sequence list(such as ambient)
2022-06-21 00:25:03 -05:00
Robert MacGregor
2b8f9e3999 Merge https://github.com/TorqueGameEngines/Torque3D into feature-vfs-security 2022-06-15 18:12:39 -04:00
Brian Roberts
5fb227a1e7
Merge pull request #813 from Areloch/MiscConvexToolFixes
Fix Misc ConvexShape Tooling Issues
2022-06-13 16:32:04 -05: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
JeffR
7cdace8da3 Fixes bounds scaling issue making the object box in the editor be double the convex's size
Fixes loading of modified surfaceTextures by properly inserting into stringtable
Fixes display of the active and default material previews in the ConvexShape editor
Adds buttons to hollow and recenter selected convex to tool window
2022-06-12 04:27:32 -05:00
JeffR
67d8448915 Fixes cleanup handling on guiBitmapButtonCtrl and guiGameSettingsCtrl to release the bound textures like other GUI controls when they sleep, avoiding a texture object leak.
Fixes a call for UINavigation to getPageCount that was erroneously referencing the pageStack
Fixes fetch and binding of the image for display when using the uvEditor
2022-06-09 16:29:32 -05:00
AzaezelX
de6ee93159 slim ambient down to vec3, default to premul for translucency 2022-06-07 22:05:47 -05:00