[Orxonox-commit 4778] r9447 - in data/trunk: images/effects materials
davidsa at orxonox.net
davidsa at orxonox.net
Tue Nov 13 17:02:16 CET 2012
Author: davidsa
Date: 2012-11-13 17:02:14 +0100 (Tue, 13 Nov 2012)
New Revision: 9447
Added:
data/trunk/images/effects/lensflare-burst.png
data/trunk/images/effects/lensflare-halo.png
data/trunk/materials/lensflare.material
Modified:
data/trunk/materials/glow.material
Log:
Added Material for Lens Flare effects, this is still very much WIP and will probably change quite a bit
Added: data/trunk/images/effects/lensflare-burst.png
===================================================================
(Binary files differ)
Property changes on: data/trunk/images/effects/lensflare-burst.png
___________________________________________________________________
Added: svn:mime-type
+ image/png
Added: data/trunk/images/effects/lensflare-halo.png
===================================================================
(Binary files differ)
Property changes on: data/trunk/images/effects/lensflare-halo.png
___________________________________________________________________
Added: svn:mime-type
+ image/png
Modified: data/trunk/materials/glow.material
===================================================================
--- data/trunk/materials/glow.material 2012-11-13 15:56:49 UTC (rev 9446)
+++ data/trunk/materials/glow.material 2012-11-13 16:02:14 UTC (rev 9447)
@@ -20,7 +20,6 @@
{
scene_blend alpha_blend
depth_check on
- depth_func less_equal
lighting off
//what color should the glow be, emissive light can be changed through ogre as well
Added: data/trunk/materials/lensflare.material
===================================================================
--- data/trunk/materials/lensflare.material (rev 0)
+++ data/trunk/materials/lensflare.material 2012-11-13 16:02:14 UTC (rev 9447)
@@ -0,0 +1,44 @@
+material lensflare/halo
+ {
+ technique
+ {
+ pass
+ {
+ lighting off
+ scene_blend src_alpha dest_alpha
+ depth_write off
+
+ cull_hardware none
+ cull_software none
+
+ texture_unit
+ {
+ tex_address_mode clamp
+ texture lensflare-halo.png
+ }
+ }
+ }
+ }
+
+
+ material lensflare/burst
+ {
+ technique
+ {
+ pass
+ {
+ lighting off
+ scene_blend src_alpha dest_alpha
+ depth_write off
+
+ cull_hardware none
+ cull_software none
+
+ texture_unit
+ {
+ tex_address_mode clamp
+ texture lensflare-burst.png
+ }
+ }
+ }
+ }
More information about the Orxonox-commit
mailing list