1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-15 06:17:38 +00:00

added comments for sl:: parameters, set them as param_, renamed steps to shader_iterations

This commit is contained in:
Zeno Rogue
2022-05-28 18:43:43 +02:00
parent 9c1dd1088b
commit 4892541287
3 changed files with 8 additions and 6 deletions

View File

@@ -1690,8 +1690,10 @@ EX }
EX namespace slr {
/** in what range are we rendering H2xR */
EX ld range_xy = 2;
EX int steps = 15;
/** the number of steps for inverse_exp in the shader */
EX int shader_iterations = 15;
EX transmatrix translate(hyperpoint h) {
return matrix4(