Commit graph

34 commits

Author SHA1 Message Date
Daniel Buckmaster
b9ebe479a3 Disable all post effects by default. 2014-10-19 20:45:27 +11:00
Daniel Buckmaster
effa335c26 Merge pull request #693 from 'Azaezel/Metrics_Keybind' 2014-10-12 15:06:56 +11:00
Azaezel
c514841ebb Binds the full metrics display to CTRL+F2 while in-game. Escape Closes. 2014-06-11 03:09:41 -05:00
LuisAntonRebollo
a8462b7fc3 Case-sensitive fixes on template script files for Linux. 2014-04-13 19:50:22 +02:00
DavidWyand-GG
3baf6d83c4 Underwater Fixes
- Caustics now respects the passed in water plane rather than assume
that the water plane is on the XY plane.  This allows for caustics to
work for steep rivers.
- Fixed lerp() warning in underwaterFogP.hlsl.
- Cleaned up turbulence and caustics PostEffect scripts to remove unused
items.
- Caustics are now enabled and disabled based on the control object
being underwater, just like turbulence.  Moved this code to fog.cs to be
with the underwater postFX.
2013-11-04 18:41:31 -05:00
DavidWyand-GG
2077632a92 Turbulence respects side-by-side rendering
- PostEffect class now offers the current projection offset and target
viewport as shader constants.
- Turbulence postFX now takes the current projection offset into
account.
- Turbulence postFX now clamps itself to the current viewport.
- Turbulence postFX now renders after the glow bin, specifically after
the glow postFX renders.  This ensures that it can take advantage of
knowing the current viewport rather than affecting the entire render
target.
2013-11-01 16:18:48 -04:00
DavidWyand-GG
15673810c6 Expand PostFX Viewport Options
- Added an option for a postFX to get its viewport from a named texture
in slot 0, if there is one.  This allows the postFX to operate when the
named input texture's viewport is different than the current viewport.
- Modified the SSAO postFX to use the new
PFXTargetViewport_NamedInTexture0 option to more closely link SSAO with
the prepass buffer.
- Modifed the GFX method setActiveRenderTarget() with a new parameter
that indicates if the current viewport should be modified with the new
rendering target.  This defaults to true to maintain its previous
behaviour.  The postFX rendering pipeline sets this to false as it now
handles its own viewport setup, and removes an unnecessary
GFX->setViewport() call.
2013-10-24 13:40:44 -04:00
DavidWyand-GG
88f2a4d903 Viewport fix for PostFX and SSAO
- General fix for PostFX render targets to properly support the GFX
viewport setting.  This is an opt-in change through the use of the new
mTargetViewport property as most PostFX run fine with their assumption
of the viewport being the whole rendering target.
- The SSAO PostFX has been modified to use the new mTargetViewport
property.  This allows correct rendering in a side-by-side view such as
with the Oculus Rift, or any other constrained viewport rendering.
2013-10-24 00:28:13 -04:00
DavidWyand-GG
85730dfb59 Oculus Rift Improvements
- Now requires OVR SDK 0.2.5
- New chromatic aberration correction shader.  Can be disabled by
setting $pref::OculusVR::UseChromaticAberrationCorrection to false prior
to enabling Rift display (such as for screen shots).
- FXAA on by default when using full screen on the Rift.
- Can now manually override IPD from script.  Otherwise value set in
profile is used.
- Raw sensor data now available through input events (set
$OculusVR::GenerateSensorRawEvents to true) and console methods.  The
raw data is acceleration, angular velocity, and magnetometer reading.
- Can determine if magnetometer calibration data is available using a
console method in order to notify the user.
2013-10-19 00:46:39 -04:00
Azaezel
7a6c0d524f fix for issue #365 2013-10-03 03:49:44 -05:00
cpusci
8476242bdf Update to turbulence PostFX to improve the visual effect of being underwater. 2013-07-30 07:17:53 -05:00
DavidWyand-GG
bbd4a622ea Underwater caustics default to off 2013-05-08 18:59:15 -04:00
Ron Kapaun
f01afa7e9a New PostFx (Underwater, Turbulence, and Camera Based Motion Blur) 2013-05-07 18:08:53 -04:00
thecelloman
a46c55d853 Add a default RadioControl Profile and image asset back to the Templates. 2013-05-07 14:02:43 -04:00
David Wyand
2dcc7f0247 Merge pull request #310 from thecelloman/goodbyeDIF
Remove Interior Object format (DIF)
2013-04-20 13:44:11 -07:00
thecelloman
d3d11e0a6c Remove unused and duplicate sounds. 2013-04-11 15:37:40 -04:00
DavidWyand-GG
de7a72d82a Oculus VR (Rift) support
Input device and shaders for supporting the Oculus Rift.
2013-04-10 01:05:26 -04:00
David Wyand
2805ec81c8 Merge pull request #324 from DavidWyand-GG/SideBySideRendering
Side by side rendering
2013-04-09 12:43:58 -07:00
DavidWyand-GG
b32e7688c2 Side by side rendering
- Side by side rendering implemented throughout the graphics pipeline.
- New GuiTSCtrl renderStyle property is set to "stereo side by side" to
activate.
- You set an IDisplayDevice on the GameConnection to define any vertical
FOV, projection offset, and stereo eye offset properties required for
the stereo rendering (no display device included with this commit).
- Full and Empty templates updated with correct scripts and shaders.
2013-04-09 15:19:18 -04:00
thecelloman
67de30b0e1 Correct customProfiles.cs execution.
This removes a duplicate and erroneous attempt to load the customProfiles.cs script.  Also added additional commentary to note that this file is the default save location when using the Gui Editor to create GuiProfiles.
Also fixes a problem where the Empty Template was not loading customProfiles.cs
2013-04-09 06:01:53 -04:00
SilentMike
b5a6514dae Merge pull request #304 from thecelloman/moveroads
Relocate default road & path assets.
2013-04-05 09:49:04 -07:00
thecelloman
b4ea1123dc Remove Interior Object format (DIF) 2013-04-05 12:39:26 -04:00
thecelloman
9c0bb322cb Fix for issue #282
Material selector now renders preview thumbnails.
2013-04-04 16:08:36 -04:00
thecelloman
6f8161b098 Relocate default road & path assets. 2013-04-04 15:29:38 -04:00
SilentMike
8d0e6b8142 Merge pull request #299 from thecelloman/movelightassets
Moving the light related assets and data out of the core.
2013-04-04 11:49:24 -07:00
SilentMike
93c7e1fb73 Merge pull request #302 from thecelloman/movewater
Relocate water related assets.
2013-04-04 11:16:08 -07:00
thecelloman
6d7270c894 Relocate water related assets.
Also remove duplication, favoring DDS over other formats.
2013-04-04 14:13:46 -04:00
thecelloman
a371fc5855 Relocating sky related assets.
Also reduced duplication of the "empty" solid color sky cubemaps.
2013-04-04 10:46:28 -04:00
thecelloman
fb341fdf97 Moving the light related assets and data out of the core. 2013-04-02 19:44:31 -04:00
thecelloman
07c16a2f38 Relocating the particles image directory out of art/shapes/particles to art/particles. This should be a more logical and intuitive location. Relevant managed particle related datablock save location defaults have been adjusted as well. 2013-03-25 16:49:08 -04:00
thecelloman
c1831e4bd8 Relocates several game specific GUIs (with relevant art and scripts) out of the "core". 2013-03-20 12:10:08 -04:00
thecelloman
d3ba8e8e44 Remove unused and (partially) unworking UnifiedShell. 2013-03-18 10:02:05 -04:00
thecelloman
ceff8d72e0 Tools GuiProfile Separation.
This effectively duplicates (where necessary) and moves tools specific GuiProfiles out of the core and into the tools.  This will allow future modifications to either the game guis or tools guis that use these profiles to not conflict with each other.
2013-03-18 06:38:48 -04:00
DavidWyand-GG
f439dc8dcd Full Template for ticket #1 2012-09-19 11:54:25 -04:00