Skip to content

Commit

Permalink
merian-shader: grid: hash x with 1
Browse files Browse the repository at this point in the history
  • Loading branch information
LDAP committed Dec 2, 2024
1 parent 640dbe8 commit 3f25685
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/merian-shaders/grid.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ ivec2 grid_idx_interpolate(const vec2 pos, const float cell_width, const float r

// See Müller et al. (2022): Instant Neural Graphics Primitives with a Multiresolution Hash Encoding
// Müller et al. uses 1 for X but we observed artifacts when doing so
#define GRID_PRIME_X 44761931
#define GRID_PRIME_X 1
#define GRID_PRIME_Y 2654435761
#define GRID_PRIME_Z 805459861

Expand Down

0 comments on commit 3f25685

Please sign in to comment.