Recommendation
More Effects...
ActionScript
1
package
2
{
3
    /**
4
     * "God Rays" / Fake Volumetric lighting.. 
5
     * See: http://http.developer.nvidia.com/GPUGems3/gpugems3_ch13.html
6
     * @author Devon O.
7
     */
8
    
9
    import com.adobe.utils.AGALMiniAssembler;
10
    import flash.display.Bitmap;
11
    import flash.display.BitmapData;
12
    import flash.display.Loader;
13
    import flash.display.LoaderInfo;
14
    import flash.display.Sprite;
15
    import flash.display.StageAlign;
16
    import flash.display.StageScaleMode;
17
    import flash.display3D.Context3D;
18
    import flash.display3D.Context3DProgramType;
19
    import flash.display3D.Context3DTextureFormat;
20
    import flash.display3D.Context3DVertexBufferFormat;
21
    import flash.display3D.IndexBuffer3D;
22
    import flash.display3D.Program3D;
23
    import flash.display3D.textures.Texture;
24
    import flash.display3D.VertexBuffer3D;
25
    import flash.events.Event;
26
    import flash.geom.Matrix3D;
 

Join Effecthub.com

Working with Global Gaming Artists and Developers!


Or Sign Up with Your Email Address:
This field must contain a valid email
Password should be at least 1 character