John Kessenich | 4e55988 | 2016-09-27 23:09:32 -0600 | [diff] [blame] | 1 | static float1 f1 = float1(1.0); |
2 | static float scalar = 2.0; | ||||
John Kessenich | 8d72f1a | 2016-05-20 12:06:03 -0600 | [diff] [blame] | 3 | |
John Kessenich | c3387d3 | 2016-06-17 14:21:02 -0600 | [diff] [blame] | 4 | float1 ShaderFunction(float1 inFloat1 : COLOR, float inScalar) : COLOR0 |
John Kessenich | 8d72f1a | 2016-05-20 12:06:03 -0600 | [diff] [blame] | 5 | { |
6 | return f1 * scalar + inFloat1 * inScalar; | ||||
7 | } |