I am trying to reproduce the atmospheric aberration effect from the intermediate_globe example. I have shamelesly copied the material modulation methods there but to no avail since i keep getting a “disc in the middle of the sphere” effect. I understand everything except the shading techniques in that example ( doubt i’ll ever understand those functions lol ).
Anyway, i’m not intent on using the shading functions ( i still have a little pride left ) but i would be glad and ver VERY grateful if i could achieve the same effect with a sphere and a color material :D
Also, how could i increase global lighting ? My scene has 1 PointLightSource ( to simulate the sun ) and so far it does a wonderful job except for the fact that ambient maps in particular appear very dark.
Below is the configuration of the light source
var light:PointLight = new PointLight();
light.fallOff = light.radius = int.MAX_VALUE;
light.ambientColor = 0xffffff;
light.ambient = 10;
light.diffuse = 2;
_scene.addChild(light);
_lightPicker = new StaticLightPicker([light]);
I have attached an archive with some screenshots since a picture is worth a thousand words ( well i have 3 in there ) and i couldn’t figure out how to attach them effectively to this post
Thanks guys !