Commit graph

66 commits

Author SHA1 Message Date
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
17113d3ba5 Blinn-Phong Specular Changes
Based on the work done here:
http://www.garagegames.com/community/blogs/view/21032
2013-10-29 15:10:23 -04:00
thecelloman
7b77b4a377 Fixes the filepath for the managed ParticleFX data that onServerCreated() looks for. 2013-10-28 14:23:05 -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
DavidWyand-GG
e917f1ea14 Allow audioData.cs.dso to execute
When using only compiled scripts, the isFile( "./audioData.cs" ) would
fail for audioData.cs.dso causing none of the audio data to load.  The
correct method is to use isScriptFile(), along with a fully qualified
file path, to check for either the .dso or .cs files.
2013-09-04 19:02:46 -04:00
SilentMike
f6efe41728 Merge pull request #460 from Azaezel/Particles
Particles
2013-08-19 08:22:04 -07:00
SilentMike
51204ee826 Merge pull request #447 from Bloodknight/BKS_BigBrush
Increase terrain editing and painting brush max sizes
2013-08-07 12:03:27 -07:00
Brian Roberts
0c88a12b83 adds an ejectionOffsetVariance entry to particle emitters, which adds a buffer zone to ejectionOffsets (IE: let's us make rings, and the like.) 2013-08-06 13:36:17 -05:00
cpusci
8476242bdf Update to turbulence PostFX to improve the visual effect of being underwater. 2013-07-30 07:17:53 -05:00
Bloodknight
3d38dc60eb Increase terrain editor and painter max brush size to 256 x 256 2013-07-28 02:26:29 +01:00
SilentMike
afc40ae714 Merge pull request #433 from eightyeight/recast-pull-navigation
Recast part 3: wrapper classes
2013-07-22 11:33:47 -07:00
Daniel Buckmaster
df2abed2c4 Added navmesh wrapper code and module. 2013-07-04 17:27:48 +10:00
Taras Podoroga
0b6b7f73c5 There is no /shape/ subdirectory in art/particles any more. 2013-06-24 14:08:40 +03: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
Ron Kapaun
b63036e919 Community Resource (scattersky fog fix) 2013-04-29 19:34:22 -05:00
thecelloman
f9d52147ac Version number change.
Also adds console functions to get the user's application version.
2013-04-23 23:09:21 -04:00
Ron Kapaun
808f1a5beb Scatter Sky Community Fixes
Fixes and Extends Features in the Scatter Sky Object and Shaders
2013-04-23 10:26:17 -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
SilentMike
20b8294282 Merge pull request #287 from xoltan/terrainmacro
Terrain Macro Texture
2013-04-18 08:50:06 -07:00
thecelloman
3934c3bbbe Default to an empty field for cubemap in the river and other water object builder script. 2013-04-17 23:13:26 -04:00
thecelloman
d3d11e0a6c Remove unused and duplicate sounds. 2013-04-11 15:37:40 -04:00
SilentMike
a9643a448d Merge pull request #327 from thecelloman/smoothslope
Add a new Terrain brush action:  Smooth Slope.
2013-04-10 14:47:09 -07:00
thecelloman
8eb0e98f86 Add a new Terrain brush action: Smooth Slope.
This smoothes the terrain using a linear regression algorithm.  Exists alongside the oldstyle height averaging action -- options are good!
2013-04-10 08:44:22 -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
thecelloman
73a55c53a4 Add buttons to the MainMenu to access the Editors. 2013-04-08 16:48:14 -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
xoltan
add2f8cb47 Terrain Macro Texture
Adds another layer of detail-like texture to the terrain and the
interface updates in the Terrain Painter.
2013-03-27 18:58:37 -06:00
SilentMike
769268784f Merge pull request #268 from eightyeight/terrain-import-flipped
Importing terrain heightmaps flips Y-axis
2013-03-25 14:03:11 -07: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
Daniel Buckmaster
b868906ba5 Added a checkbox to the terrain import GUI and fixed a space. 2013-03-23 09:24:02 +11:00
thecelloman
25efdb4a06 Adding a basic rule-based terrain painting implementation.
http://www.garagegames.com/community/resources/view/17145
2013-03-21 17:45:23 -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