Example #1
0
 public static extern void SetGlobal(
     int screenWidth,
     int screenHeight,
     int maximumRecursion,
     int shadowSamples,
     int subPixelsCount,
     Vector2f[] subPixels,
     Vector3f cameraPosition,
     Vector2f cameraAngle,
     float cameraZoom,
     LiterayColor clsColor,
     LiterayColor ambientColor,
     bool fogEnabled,
     float fogRange);
Example #2
0
 public static extern void CreateSphere(
     Vector3f position,
     float radius,
     LiterayColor color,
     float reflection,
     float specularPower,
     float specularIntensity,
     int textureHandle,
     int texture2Handle,
     int bumpmapHandle,
     int bumpmap2Handle,
     Vector2f textureSize,
     Vector2f texture2Size,
     Vector2f bumpmapSize,
     Vector2f bumpmap2Size,
     float bumpmapStrength,
     float bumpmap2Strength);
Example #3
0
 public static extern void CreateLight(Vector3f position, Vector3f size, float brightness, LiterayColor color);