summaryrefslogtreecommitdiffstats
path: root/Shaders/STT_generated_template.cginc
blob: 9091e8e7cbfeca20264dad7f6630261c4c8e0ec4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef __STT_GENERATED_INC__
#define __STT_GENERATED_INC__

// %TEMPLATE__CG_ROW_COL_CONSTANTS%

// %TEMPLATE__CG_ROW_COL_PARAMS%

// Get the value of the parameter for the cell we're in.
uint GetLetterParameter(float2 uv)
{
  float CHAR_COL = floor(uv.x * BOARD_NCOLS);
  float CHAR_ROW = floor(uv.y * BOARD_NROWS);
  int res = 0;

  // %TEMPLATE__CG_LETTER_ACCESSOR%
  return res;
}

#endif  // __STT_GENERATED_INC__