Skip to content

Commit

Permalink
add little noise using formula from Nugget Doom
Browse files Browse the repository at this point in the history
  • Loading branch information
rfomin authored and fabiangreffrath committed Dec 7, 2024
1 parent 637affd commit 7165c70
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions src/r_draw.c
Original file line number Diff line number Diff line change
Expand Up @@ -527,16 +527,17 @@ static void DrawFuzzColumnBlocky(void)
}

#define FUZZDARK 6 * 256
#define FUZZPAL 256

static const int fuzzdark[FUZZTABLE] =
{
FUZZDARK,0,FUZZDARK,0,FUZZDARK,FUZZDARK,0,
FUZZDARK,FUZZDARK,0,FUZZDARK,FUZZDARK,FUZZDARK,0,
FUZZDARK,FUZZDARK,FUZZDARK,0,0,0,0,
FUZZDARK,0,0,FUZZDARK,FUZZDARK,FUZZDARK,FUZZDARK,0,
FUZZDARK,0,FUZZDARK,FUZZDARK,0,0,FUZZDARK,
FUZZDARK,0,0,0,0,FUZZDARK,FUZZDARK,
FUZZDARK,FUZZDARK,0,FUZZDARK,FUZZDARK,0,FUZZDARK
4 * FUZZPAL,0,6 * FUZZPAL,0,6 * FUZZPAL,6 * FUZZPAL,0,
6 * FUZZPAL,6 * FUZZPAL,0,6 * FUZZPAL,6 * FUZZPAL,6 * FUZZPAL,0,
6 * FUZZPAL,8 * FUZZPAL,6 * FUZZPAL,0,0,0,0,
4 * FUZZPAL,0,0,6 * FUZZPAL,6 * FUZZPAL,6 * FUZZPAL,6 * FUZZPAL,0,
4 * FUZZPAL,0,6 * FUZZPAL,6 * FUZZPAL,0,0,6 * FUZZPAL,
6 * FUZZPAL,0,0,0,0,6 * FUZZPAL,6 * FUZZPAL,
6 * FUZZPAL,6 * FUZZPAL,0,6 * FUZZPAL,6 * FUZZPAL,0,6 * FUZZPAL,
};

static void DrawFuzzColumnRefraction(void)
Expand Down

0 comments on commit 7165c70

Please sign in to comment.