Changeset 7200 for 2016/23


Ignore:
Timestamp:
2016-06-07 22:19:24 (3 years ago)
Author:
sieerinn
Message:

Lisätty oranssin tiilen kuvat, varjostinsäätöä ja Blender tiedostot

Location:
2016/23/ohjaajat
Files:
15 added
1 edited

Legend:

Unmodified
Added
Removed
  • 2016/23/ohjaajat/Punasininen/Punasininen/PunasininenContent/Shockwave.fx

    r7198 r7200  
    2626{ 
    2727        float2 uv = texCoord; 
    28          
    2928        [unroll] for(int i=0; i<MAX_WAVES; i++) 
    3029        { 
     
    3332        } 
    3433        float3 color = tex2D(TextureSampler, uv).rgb; 
    35  
    36         float radius = 5.0; 
     34         
     35        float radius = 4.0; 
    3736        float3 glow = float3(0, 0, 0); 
    3837        for (int x = -3; x<3; x++) { 
     
    4140                        if (!(x == 0 && y == 0)) 
    4241                                w = 0.1 * 1.0 / sqrt(float(x*x + y*y)); 
    43                         glow += w * tex2D(TextureSampler, uv + float2(radius * x / Resolution.x, 
    44                                 radius * y / Resolution.y)).rgb; 
     42                        glow += w * tex2D(TextureSampler, uv + float2(radius * x / Resolution.x, radius * y / Resolution.y)).rgb; 
    4543                } 
    4644        } 
    4745        glow *= 1.0 / 6.0 * 6.0; 
    48         color += 1.0 * glow; 
     46        color += 0.6 * glow; 
    4947 
    5048        return float4(color, 1); 
Note: See TracChangeset for help on using the changeset viewer.