Skip to content

Conversation

@gracexu94
Copy link

@gracexu94 gracexu94 commented Jan 24, 2017

The link should be https://gracexu94.github.io/Project1-Noise - not sure if the one showing is the latest though. Definitely runs locally.

Copy link
Contributor

@austinEng austinEng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work!

uniform float noiseStrength;
const int aLargeNumber = 10;

float generateNoise(int x, int y, int z, int numOctave) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice idea taking in the octave here to add variation

// with each subsequent noise function increasing in frequency and decreasing in amplitude
float generateMultiOctaveNoise(float x, float y, float z) {
float total = 0.0;
float persistence = 1.0/noiseStrength;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a little odd that less "noise" makes it more noisy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants