Commit graph

274 commits

Author SHA1 Message Date
Azaezel f9ab317f65 companion to #2203: corrects a couple backend profile assignment mismatches found with @rextimmys debug spew 2018-02-13 02:51:28 -06:00
Areloch 86756bd929 Loader files didn't properly get deleted with the libmng and lungif library removal. 2018-01-10 09:49:28 -06:00
Areloch 4509d14df3 Merge pull request #2057 from OTHGMars/GFXFormatStrs
Adds missing GFX Texture format strings
2017-09-21 16:56:15 -05:00
Areloch 6ca8ca4d83 Merge pull request #2086 from Azaezel/ProfileProblemPing
textureProfile conflict reporting
2017-09-14 22:19:01 -05:00
Azaezel ee14bb923e from@rextimmy: reports the same texture used with 2 conflicting textureProfiles (flipping back and forth causes duplicates) 2017-09-14 13:28:13 -05:00
rextimmy 505b9fbd12 Corrects OpenGL projection matrix
Corrects OpenGL glPolygonOffset values
Corrects Direct3D11 DepthBias values
2017-08-25 13:13:47 +10:00
rextimmy 56ba98ac12 Fix potential crash with D3D11 2017-08-12 19:24:09 +10:00
Areloch e2d3eeffaf Merge pull request #2055 from Areloch/CommonShaderPath_Improvement
Reworks the $Core::commonShaderPath variable usage
2017-08-04 00:58:34 -05:00
Areloch 9831dc947d Merge pull request #2041 from Azaezel/clearTextureStateImmediate
method to make sure we're not getting pixel shader inputs mixed with …
2017-08-04 00:58:13 -05:00
OTHGMars ba401dbc72 Adds missing GFX Texture format strings
This commit eliminates 5 warnings output from VALIDATE_LOOKUPTABLE here: https://github.com/GarageGames/Torque3D/blob/development/Engine/source/gfx/gfxStringEnumTranslate.cpp#L167
And prevents a fatal error here: https://github.com/GarageGames/Torque3D/blob/development/Engine/source/gfx/gfxTextureManager.cpp#L1371
that occurs when called from GuiOffscreenCanvas::_setupTargets() for an OpenVROverlay because GFXFormatR8G8B8A8_LINEAR_FORCE  is used.
2017-07-27 16:49:02 -04:00
Areloch 7567ca10c3 Reworks the $Core::commonShaderPath variable usage to be a static variable in ShaderGen for efficiency(only one getVariable when shadergen is initialized), as well as implements the ability to set a default value, and ensures that it tries to set a path even if the pref variable is missing which is important for ported projects from older builds. 2017-07-24 00:40:27 -05:00
Azaezel 6813f255d0 method to make sure we're not getting pixel shader inputs mixed with outputs. 2017-07-09 15:15:30 -05:00
rextimmy 8bdccb3ff3 DDS cubemap support 2017-07-07 15:59:02 +10:00
Areloch 60b1922bc5 Includes the D3D feature level detection. 2017-07-05 22:27:37 -05:00
Areloch 0801a3cca8 Implementation of sRGB image support. Overhauls the linearization setup to utilize the sRGB image types, as well as refactors the use of ColorF and ColorI to be properly internally consistent. ColorIs are used only for front-facing/editing/UI settings, and ColorFs, now renamed to LinearColorF to reduce confusion of purpose, are used for color info in the engine itself. This avoids confusing and expensive conversions back and forth between types and avoids botches with linearity. Majority work done by @rextimmy 2017-06-23 11:36:20 -05:00
Areloch 7e5e3b5105 Removes Direct3D9 functionality. 2017-05-28 16:51:31 -05:00
OTHGMars 77da6900a8 Prevents GFXDrawUtil::drawTextN() from drawing one character more than requested if in_string has more than n characters. 2017-05-12 18:54:01 -04:00
Areloch 19dcfde60f Merge pull request #1984 from FooBarbarians/fix-1912
Reordering initialization methods #1912
2017-04-26 01:11:51 -05:00
Areloch ab51befa68 Merge pull request #1979 from Azaezel/purdyPitureProfiler
adds profiling to the various gbitmap loaders*
2017-04-26 01:01:54 -05:00
Masquara 970dd5c477 Reordering initialization methods #1912 2017-04-19 14:02:45 -04:00
Azaezel f889aebcea adds profiling to the various gbitmap loaders*
*note, DDS bypasses the gbitmap method chain in question.
2017-04-10 21:43:38 -05:00
Areloch 26fd24fbab Removes bits of code and includes that are based on old 360, xbox and PS3 flags that are no longer needed. 2017-04-08 20:30:57 -05:00
Thomas "elfprince13" Dickerson f7ce30f42c Merge branch 'development' of github.com:GarageGames/Torque3D 2017-03-07 20:08:17 -05:00
Thomas "elfprince13" Dickerson d3956cb532 merged numerous changes from upstream 2017-03-03 21:17:07 -05:00
Areloch d680dc9934 Initial implementation of the new Base Game Template and some starting modules.
This makes some tweaks to the engine to support this, specifically, it tweaks the hardcoded shaderpaths to defer to a pref variable, so none of the shader paths are hardcoded.

Also tweaks how post effects read in texture files, removing a bizzare filepath interpretation choice, where if the file path didn't start with "/" it forcefully appended the script's file path. This made it impossible to have images not in the same dir as the script file defining the post effect.

This was changed and the existing template's post effects tweaked for now to just add "./" to those few paths impacted, as well as the perf vars to support the non-hardcoded shader paths in the engine.
2017-02-24 02:40:56 -06:00
Areloch 501b55d939 Adds a check to the record movie call so that it only happens in Release mode, to avoid crash issues with theora and debug mode. 2017-01-30 20:36:48 -06:00
Thomas Dickerson 6963d35145 Merge branch 'development' into stringTableEmptyString 2017-01-24 12:35:34 -05:00
rextimmy f6d624be8f Fix mipmap count and potential crash for non square textures that are allocated with GBitmap class 2017-01-16 15:36:52 +10:00
Areloch 0c6174b045 Merge pull request #1920 from elfprince13/variadicConsoleTemplates
Variadic console templates
2017-01-12 23:32:03 -06:00
Thomas "elfprince13" Dickerson bcc5459818 whitespace 2017-01-11 23:34:46 -05:00
Thomas "elfprince13" Dickerson 1c2b096a72 Whitespace consistency 2017-01-06 23:10:14 -05:00
Thomas "elfprince13" Dickerson d90b602e5a whitespace updates 2017-01-06 23:04:49 -05:00
Thomas "elfprince13" Dickerson e2c61e1eb4 Merge branch 'development' of github.com:GarageGames/Torque3D 2017-01-06 22:52:04 -05:00
Anis 55b7a8431c Merge pull request #1800 from Azaezel/andOrMaybe
clang reports: unclear || + && and &+| mixes.
2017-01-07 02:31:05 +01:00
Thomas "elfprince13" Dickerson bb38a40bcb fixed lots of tabs and space 2017-01-06 18:04:28 -05:00
Thomas "elfprince13" Dickerson 88106f9032 Fixed type inference for nulls in console functions 2017-01-06 17:18:37 -05:00
Thomas "elfprince13" Dickerson 3f6c269f6a Fixed type inference for nulls in console functions 2017-01-06 14:50:41 -05:00
rextimmy 34e877b6e0 Added feature level version to card profiler version string for D3D11 2016-12-30 11:40:32 +10:00
rextimmy 86a95e748e Added getShaderModel string to D3D11 for use with shader version macros. 2016-12-30 11:40:00 +10:00
Areloch 4a84c68137 Merge pull request #1882 from rextimmy/gl_vsync
OpenGL vsync fixes.
2016-12-28 21:45:12 -06:00
rextimmy 46037622c9 D3DPER debug events for DX11 2016-12-23 15:59:32 +10:00
rextimmy 4857e89ca8 D3D11 fullscreen fix 2016-12-23 15:43:45 +10:00
rextimmy 48dc2551c4 GFXD3D11StateBlock improvements 2016-12-23 15:08:23 +10:00
rextimmy 983b3211ed D3D11 Feature level 10 support and D3D11 device cleanup. 2016-12-23 15:00:07 +10:00
rextimmy 415f4a046e OpenGL vsync fixes. 2016-12-23 13:59:55 +10:00
Areloch fb9bd03073 Merge pull request #1859 from rextimmy/multicanvas_gl_dx11
Multiple canvas support for GL and DX11
2016-12-20 23:36:13 -06:00
Azaezel dd071484da Merge branch 'development' of https://github.com/GarageGames/Torque3D into andOrMaybe
Conflicts:
	Engine/source/T3D/staticShape.cpp
2016-12-20 22:50:28 -06:00
rextimmy ab41fe713c GL::Workaround::noCompressedNPoTTextures profile is no longer used nor relevant. #1863 2016-12-15 14:50:51 +10:00
rextimmy 08c0195cba OpenGL multiple canvas support 2016-12-14 22:01:18 +10:00
rextimmy efab1299ca DX11 multiple canvas support 2016-12-14 21:24:44 +10:00