2 using System.Collections.Generic;
6 namespace DirectOutput.Cab.Toys.Layer
11 public static class AlphaMappingTable
16 public static float[,] AlphaMapping =
new float[256, 256];
19 static AlphaMappingTable()
21 for (
int A = 0; A < 256; A++)
23 for (
int V = 0; V < 256; V++)
25 AlphaMapping[A, V] = (float)((
double)V / 255 * (double)A);