More 3D Improvements

-=-=-=-=-=-=-=-=-=-=

-Sprite3D and AnimatedSprite3D support.
-Opaque pre-pass works, is compatible with shadows
-Improved shadow map rendering (can differentiate between plain opaque and opaque with shaders/discard/etc)
-Added option to use alpha discard in FixedMaterial
-Improved Glow FX, many more options (three modes, Additive, Screen and SoftLight), strength and scale
-Ability for Background (image or cubemap) to send to glow buffer
-Dumb Deploy of clients now actually works in Android
-Many Many rendering fixes, 3D is much more usable now.
This commit is contained in:
Juan Linietsky 2014-05-29 10:56:39 -03:00
parent 8008172a3f
commit b45ed01fd1
3 changed files with 12 additions and 3 deletions

View File

@ -6,14 +6,19 @@
<ext_resource path="res://player.xml" type="PackedScene"></ext_resource>
<ext_resource path="res://enemy.scn" type="PackedScene"></ext_resource>
<resource type="Environment" path="local://1">
<bool name="fxaa/enabled"> False </bool>
<int name="background/mode"> 4 </int>
<color name="background/color"> 0, 0, 0, 1 </color>
<nil name="background/texture"> </nil>
<resource name="background/cubemap" resource_type="CubeMap" path="res://sb.cube"> </resource>
<real name="background/energy"> 1 </real>
<real name="background/scale"> 1 </real>
<real name="background/glow"> 0.6 </real>
<bool name="glow/enabled"> True </bool>
<int name="glow/blur_passes"> 2 </int>
<real name="glow/blur_scale"> 1.3 </real>
<real name="glow/blur_strength"> 1.2 </real>
<int name="glow/blur_blend_mode"> 1 </int>
<real name="glow/bloom"> 0 </real>
<real name="glow/bloom_treshold"> 0.5 </real>
<bool name="dof_blur/enabled"> False </bool>
@ -150,8 +155,12 @@
<bool> False </bool>
<string> "zoom" </string>
<real> 1 </real>
<string> "use_snap" </string>
<bool> False </bool>
<string> "ofs" </string>
<vector2> 1, 1 </vector2>
<string> "snap" </string>
<int> 10 </int>
</dictionary>
<string> "3D" </string>
<dictionary shared="false">
@ -165,15 +174,15 @@
<string> "distance" </string>
<real> 6.622579 </real>
<string> "x_rot" </string>
<real> 1.570796 </real>
<real> 0.358295 </real>
<string> "y_rot" </string>
<real> 0 </real>
<real> 0.45 </real>
<string> "use_orthogonal" </string>
<bool> False </bool>
<string> "use_environment" </string>
<bool> False </bool>
<string> "pos" </string>
<vector3> 8.30511, 0.427271, 15.7846 </vector3>
<vector3> 9.41795, 2.98588, 13.6496 </vector3>
</dictionary>
<dictionary shared="false">
<string> "distance" </string>

Binary file not shown.