Commit graph

1119 commits

Author SHA1 Message Date
marauder2k7
e1a2a6d9f9 fix material editor
material editor now handles named targets propertly when loading
also update preview image in material editor
2025-03-26 10:55:54 +00:00
marauder2k7
16d219769f set preview image
set the image asset preview image for namedTargets
2025-03-26 10:12:14 +00:00
marauder2k7
bab7878ca6 give named target a fallback
we need to give named target a fallback image so references are kept when a named target is not ready.
2025-03-26 09:12:06 +00:00
marauder2k7
9ff4c84bc8 Merge remote-tracking branch 'upstream/development' into imageAsset_refactor_rev3 2025-03-25 21:02:57 +00:00
AzaezelX
5666373447 unmangle brdfTexture. again.
also correct roughnessToMipLevel, specular tinting and missing horizon correction
2025-03-24 18:18:12 -05:00
marauder2k7
0da0903599
Merge branch 'development' into imageAsset_refactor_rev3 2025-03-24 20:07:06 +00:00
AzaezelX
9d7fdab193 correct further flaws with albedo handling 2025-03-23 20:53:32 -05:00
AzaezelX
61dbbf7102 clean up brdf
it was loading in the wrong colorspace, and there as a mix of texture/textureLOD refs leading to inconsistencies
2025-03-22 13:38:09 -05:00
AzaezelX
42710ec6f0 specular review
cleanup of various calcs
2025-03-22 10:00:45 -05:00
Brian Roberts
80b16185ef
Merge pull request #1404 from Azaezel/alpha41/albedoOops
proper correction for missing direct light suface coloration
2025-03-02 00:29:26 -06:00
AzaezelX
6381065eea proper correction for missing direct light suface coloration 2025-03-02 00:29:04 -06:00
Brian Roberts
e8028b93a7
Merge pull request #1403 from Azaezel/alpha41/spawnSphereShaping
ObjectBuilderGui::buildSpawnSphere
2025-03-01 18:41:08 -06:00
AzaezelX
0562e2fea6 ObjectBuilderGui::buildSpawnSphere
adds a build callback for the add menu->markers->spawnsphere, using the general case presentation
2025-03-01 18:40:49 -06:00
AzaezelX
5f1eec0e00 expand playgui callbacks to also allow game modes to inject element layers 2025-02-27 14:41:21 -06:00
AzaezelX
41133624e3 reduce redundant calcs for the dampen method.
remove overemphasized normal infleunce on groundcover foliage
2025-02-25 15:46:41 -06:00
AzaezelX
34bc015d3e correct high metallic objects lacking color input 2025-02-25 02:45:53 -06:00
Brian Roberts
7bb8587db5
Merge pull request #1388 from Azaezel/alpha41/erosionBrushes
additional terrain brushes
2025-02-20 12:08:22 -06:00
AzaezelX
1ac6ad0887 icons 2025-02-18 20:41:26 -06:00
AzaezelX
25ea164a1f add a pasteUp and pasteDown pallet 2025-02-17 23:42:19 -06:00
Brian Roberts
2bacfca540
Merge pull request #1387 from Azaezel/alpha41/buttonPalletBump
fix buttonpallet extents misalignment
2025-02-17 23:27:43 -06:00
AzaezelX
7b42080b9e fix buttonpallet extents misalignment 2025-02-17 23:27:23 -06:00
AzaezelX
561c201b88 copy paste support for terrains 2025-02-17 22:10:56 -06:00
AzaezelX
2eb2cbc302 add erosion brushes
todo: sort why noise... isn't.
2025-02-17 05:48:15 -06:00
Brian Roberts
bb1cd32838
Merge pull request #1386 from Azaezel/alpha41/oninspectDBFilter
add a datablock namespace hook for onInspect
2025-02-15 20:26:55 -06:00
AzaezelX
818d76d481 add a datablock namespace hook for onInspect 2025-02-15 17:38:11 -06:00
AzaezelX
516df48354 adds a built in detail map generator
splitTerrainMaps("data/some/file"); or  makeTerrainMapsFrom("module:anAsset"); to take a detailed albedo map and split it into a _bas(is) file thats an averaghe of the inut and a _det(ail) file to raise and lower different channels from that average.
special note: while used primarily for terrain authoring, these files could also be plugged into a normal material
2025-02-06 14:46:05 -06:00
Brian Roberts
b47ffb2f28
Merge pull request #1379 from Areloch/VariousSubSceneFixes
Various Subscene Fixes
2025-02-06 12:16:49 -06:00
JeffR
0d338f2d51 * Update levelAsset creation so it can be flagged to be creating a subScene preemptively, improving workflow when creating a SubScene level asset 'in place' via the inspector.
* Fixed issue of creating new SubScene using the full level template instead of a blank level file
* Fixed subScene inspector field handling so clicking the create new will mark the 'in place' created level asset as a subscene appropriately
* Changed up persistenceManager logic when parsing objects out - especially with specialty fields - to use Strings instead of const char* to simplify memory juggling and improve stability
* Rolled back specialty array field outputs for decal roads and convex shapes to have the field names in the output again
* Added sanity check for MeshRoad's when writing out via specialty array field to ensure there are profile nodes before trying to write any
* Added sanity check to avoid pointlessly writing out meshroad and river position field into subScene file as it could cause a transform double-up and cause them to move when loading from a subscene
2025-02-05 22:51:43 -06:00
AzaezelX
cf92b29898 take ao into account for the brdf diffuse component 2025-02-03 11:51:53 -06:00
Brian Roberts
f71f4e051f
Merge pull request #1375 from Azaezel/alpha41/conoleCleanups
Don't report keybinds unless asked
2025-01-30 17:31:15 -06:00
AzaezelX
3797038664 Don't report keybinds unless asked
Do report where you're saving prefs
2025-01-30 17:29:31 -06:00
Brian Roberts
cb63b382ff
Merge pull request #1373 from Azaezel/alpha41/matEDmangle
fix material editor becoming nonresponsive when specifically dragging…
2025-01-29 00:16:31 -06:00
AzaezelX
5a0b9a5120 fix material editor becoming nonresponsive when specifically dragging and dropping a texture 2025-01-29 00:16:03 -06:00
Brian Roberts
cd2213de36
Merge pull request #1371 from Azaezel/afxZodiacFindings
Afx zodiac findings
2025-01-27 18:57:28 -06:00
Brian Roberts
fdbac265b7
Merge pull request #1363 from marauder2k9-torque/ColorPicker-refactor
Color picker refactor rev2
2025-01-27 11:31:17 -06:00
marauder2k7
c4a6159faa Update core.tscript
change the execution order so sfx is initialized right after rendering
2025-01-26 21:04:52 +00:00
marauder2k7
f519cff6ff gui types using image_asset 2025-01-23 22:12:57 +00:00
marauder2k7
fa8110ce8f all DECLARE_IMAGEASSET refactored 2025-01-23 22:12:55 +00:00
marauder2k7
7ffb27dab3 Update colorPicker.ed.gui 2025-01-23 19:24:11 +00:00
marauder2k7
d06a28041d Update colorPicker.ed.gui 2025-01-23 19:22:50 +00:00
marauder2k7
704e304eef display correct values
Few fixes to display float values if the inspector field asks for floats
Split Hsb out from colorI now linearColorF can return HSB from its own color without having to go through the colorI conversion, hopefully gets rid of rounding errors etc since we are only doing the calc once.
2025-01-23 19:06:35 +00:00
AzaezelX
967fa62ddd shaders/common/ no longer exists 2025-01-23 11:19:27 -06:00
AzaezelX
fa1380acc5 add missing shaderData defines. don't ask if something exists before creating it 2025-01-23 11:18:52 -06:00
marauder2k7
48ca98ca84 color palette saving
for now saves palette colours as their hex value. This will miss out on the alpha value.
2025-01-23 14:46:05 +00:00
marauder2k7
46192c3709 Eye dropper functionality
Adds eye dropper functionality
adds eye dropper button image supplied by jeff
adds a few missing asset files (due to in asset browser scan and add all loose files)
2025-01-23 10:18:18 +00:00
marauder2k7
d5d7f9b91b missed glsl shader changes
missed a few glsl shader changes
fixed gradient to look correct with selected underlay colour
2025-01-22 21:32:07 +00:00
marauder2k7
5ca1c37fe9 more fixes for hsb conversion and gui updated 2025-01-22 19:14:40 +00:00
marauder2k7
29a9bd7917 ground work before gui 2025-01-22 17:21:46 +00:00
GATTOUMIDE
88b5bf9245 Fixes camera speed slider and minor gui adjustments 2025-01-22 00:04:01 -03:00
AzaezelX
52dbef6f5f correct misbehaving ibl
got turned around on which pass returned the surface.basecolor when ign orelighting was on.
refine dampen method o stop fighting grass
2025-01-20 19:45:22 -06:00