Ignore:
Timestamp:
Jun 5, 2012, 8:15:59 PM (10 years ago)
Author:
sam
Message:

orbital: some tuning here and there.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/orbital/shiny.lolfx

    r1392 r1441  
    11
    22-- GLSL.Vert --
    3 
    4 #version 120
     3#version 100
    54
    65attribute vec3 in_Vertex;
     
    1716    /* Material properties */
    1817    vec3 specular_reflect = vec3(0.8, 0.75, 0.4);
    19     float specular_power = 60.f;
     18    float specular_power = 60.0;
    2019
    2120    /* World properties */
    22     float ambient_mul = 0.5f;
     21    float ambient_mul = 0.5;
    2322    vec3 light_dir = normalize(vec3(0.3, 0.3, 0.7));
    2423    vec3 ambient_color = vec3(0.25, 0.2, 0.35);
     
    4948
    5049-- GLSL.Frag --
     50#version 100
    5151
    52 #version 120
    53 
     52precision highp float;
    5453varying vec4 pass_Color;
    5554
     
    7170{
    7271    float3 specular_reflect = float3(0.8, 0.75, 0.4);
    73     float specular_power = 60.f;
    74     float ambient_mul = 0.5f;
     72    float specular_power = 60.0;
     73    float ambient_mul = 0.5;
    7574    float3 light_dir = normalize(float3(0.3, 0.3, 0.7));
    7675    float3 ambient_color = float3(0.25, 0.2, 0.35);
Note: See TracChangeset for help on using the changeset viewer.