Brian Roberts
69e9feb2a1
specify 4.0 core profile usage. see: https://en.wikipedia.org/wiki/OpenGL_Shading_Language#Versions
2019-05-24 19:06:38 -05:00
Areloch
0e6ba354db
WIP updated UI
...
WIP dark editor theme
fixed multiwindow
2019-05-09 00:11:49 -05:00
AzaezelX
97ec99f704
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
Areloch
19a1237dcb
Ongoing fiddling with correcting the forward render behavior.
2019-04-29 00:07:38 -05:00
Areloch
240e940572
random testing bits trying to isolate remaining forward issues.
2019-04-28 18:32:23 -05:00
Areloch
337a12b084
Make the gl cubemap array init that takes a pointer list of cubemaps actually have parity to the updateTexture gl calls(aka, actually works).
2019-04-27 03:09:01 -05:00
AzaezelX
413d756b80
1) bumped bytesPerTexel on up to 8 and got rid of the explicit fillin
...
2) fed glTexSubImage3D GL_RGBA instead of a second GFXGLTextureType[mFormat]. this tells it what order colors come in, not what size
3)for safeties sake, skipped out on updatetexture if the fed cubemap isn't initialized yet
2019-04-26 13:32:23 -05:00
Areloch
871fdf3664
ongoing WIP of openGL cubemap arrays.
...
Got the initialization of the arrays to work, but currently fill the supplied cubemaps with flat 1 values(effectively filling with garbage) as sampling from the cubemap to feed to the array leads to memory/heap corruption.
2019-04-26 01:57:07 -05:00
Areloch
95962cbcbc
GL work
2019-04-15 23:11:18 -05:00
suncaller
7f7e402c42
Clean up MSVC warning [C4312] conversion from type to type * of greater size
2019-02-02 23:09:55 -05:00
Azaezel
e1c72b5aa2
tracks wether or not a cubemap has been fully intitialised (as well as defautls for other shared entries). skips out including an uninitialized cuebmap in probe array (inthoery. in practice, need to root arround a bit more)
2019-01-22 02:03:14 -06:00
Azaezel
8e534dd0c9
Merge branch 'method_Unmangle' into PBR_PR
2018-12-12 14:54:22 -06:00
Azaezel
db84f5954e
straight convert of RGBA16F saving support for probes. should note gl side seems to be having an issue with loading probes thats resulting in color channel swapping.
2018-12-09 18:09:45 -06:00
Tim Barnes
15aeba20e7
timmy merge work
2018-11-28 17:51:52 +10:00
Areloch
83dd55e851
Add cubemap arrays, as well as control for generation of MIPs on texture targets.
2018-09-16 18:19:04 -05:00
Areloch
ef5e3a5271
Core implementation of Physical Based Rendering.
2018-09-15 20:19:57 -05:00
Lukas Joergensen
00758d380f
Eliminate unnecessary uses of ConsoleFunction
2018-04-17 21:41:29 +02:00
Lukas Joergensen
5bde18143f
Eliminate DefineConsoleFunction
2018-04-17 20:54:08 +02:00
Glenn Smith
a94587af43
Use strncpy instead of strcpy because again, buffer overflows
2018-03-06 02:35:33 -05:00
Glenn Smith
1728fe39ad
Use strncat instead of strcat to prevent some buffer overflows
2018-03-06 00:48:44 -05:00
rextimmy
505b9fbd12
Corrects OpenGL projection matrix
...
Corrects OpenGL glPolygonOffset values
Corrects Direct3D11 DepthBias values
2017-08-25 13:13:47 +10: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
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
Masquara
970dd5c477
Reordering initialization methods #1912
2017-04-19 14:02:45 -04: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
Thomas "elfprince13" Dickerson
bcc5459818
whitespace
2017-01-11 23:34:46 -05:00
Anis
55b7a8431c
Merge pull request #1800 from Azaezel/andOrMaybe
...
clang reports: unclear || + && and &+| mixes.
2017-01-07 02:31:05 +01: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
Jeff Hutchinson
14cd94ddc9
glx extension fix for GLX windowing api
2016-11-24 12:41:30 -05:00
Jeff Hutchinson
15a10a78cc
suppress API_ID_REDUNDANT_FBO on the debug callbacks. This is a temporary fix so that glad can get pushed into devhead.
2016-11-24 12:35:39 -05:00
Jeff Hutchinson
0296e6d3fd
Fix merge conflict and add check for unix and not apple for glx
...
Merge branch 'development-gg' into gladdev
# Conflicts:
# Tools/CMake/libraries/glad.cmake
2016-11-02 21:55:24 -04:00
Azaezel
fbfd3ed8ed
clang: constructor initialization order
...
while not a major issue per-se, the sheer number of times the engine has to jump back in memory and backfill data in a given class can add up. First run of... many.,
2016-10-14 18:16:55 -05:00
Azaezel
c57b1a8b70
clang reports: unclear || + && and &+| mixes.
2016-10-14 17:26:13 -05:00
RexTimmy
dd64004eaf
MacOS platform support.
2016-09-28 11:09:48 +10:00
Jeff Hutchinson
cfb3ad598f
SDL support for glad
2016-09-11 21:59:48 -04:00
Jeff Hutchinson
11c3314f66
implement glad into torque.
2016-09-11 21:48:42 -04:00
James Urquhart
ace01a313c
Add a workaround for the 16 vertex attribute limit on nvidia gl
2016-08-21 01:43:30 +01:00
James Urquhart
3496c549b5
Hardware Skinning Support
...
- Supports GL, D3D9 & D3D11
- Extends vertex formats & shadergen to support blend indices and weights
- Adds basic support for using 4x3 matrices for shader constants
- Supports software fallback
2016-08-21 01:43:30 +01:00
Azaezel
47366068c1
revised torque_nsight_workaround
2016-06-27 19:35:40 -05:00
Areloch
27afd2ded1
Resolves the "conflict" with #1598
2016-06-08 09:39:11 -05:00
Jeff Hutchinson
e43a0ba6e9
Merge branch 'development-gg' into glpboimprovement
...
Conflicts:
Engine/source/gfx/gl/gfxGLTextureManager.cpp
2016-06-07 15:48:21 -04:00
Azaezel
75fa06dec2
Merge branch 'development' of https://github.com/GarageGames/Torque3D into FrameMallocMallet
...
Conflicts:
Engine/source/gfx/gl/gfxGLTextureManager.cpp
2016-06-06 01:20:23 -05:00
Areloch
f66a14c6e1
Merge pull request #1599 from JeffProgrammer/glprofiling
...
Added missing OpenGL profiling blocks.
2016-05-24 01:26:39 -05:00
Jeff Hutchinson
909109713d
redefined the copyToBMP
2016-05-06 23:45:48 -04:00
Jeff Hutchinson
db6d91925d
Added profile blocks for GL.
2016-05-06 23:44:41 -04:00