My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package org.papervision3d.materials.shadematerials
{
import org.papervision3d.core.proto.LightObject3D;
import org.papervision3d.materials.utils.LightMaps;

/**
* @Author Ralph Hauwert
*/
public class PhongMaterial extends EnvMapMaterial
{
public function PhongMaterial(light:LightObject3D, lightColor:uint, ambientColor:uint, specularLevel:uint)
{
super(light, LightMaps.getPhongMap(lightColor, ambientColor, specularLevel), null, ambientColor);
}

}
}

Change log

r919 by r.hauwert on Jul 8, 2009   Diff
Update to shade materials submitted by
Paul Tondeur, should fix shading issues.
Go to: 
Project members, sign in to write a code review

Older revisions

r811 by C4RL054321 on Nov 29, 2008   Diff
Renamed arguments for consistency
r708 by neoriley on Aug 25, 2008   Diff
Updating Trunk to 2.0 Beta
All revisions of this file

File info

Size: 475 bytes, 17 lines
Powered by Google Project Hosting