Skip to content

Commit

Permalink
Add text files
Browse files Browse the repository at this point in the history
  • Loading branch information
keijiro committed May 11, 2020
1 parent 3dc3708 commit 3466f10
Show file tree
Hide file tree
Showing 6 changed files with 149 additions and 2 deletions.
18 changes: 18 additions & 0 deletions LICENSE
@@ -0,0 +1,18 @@
# webgl-noise

The following shaders are originally developed by Stefan Gustavson and Ahima
Arts. These shaders are distributed under the MIT license. See the file headers
for details.

- ClassicNoise2D.hlsl
- ClassicNoise3D.hlsl
- SimplexNoise2D.hlsl
- SimplexNoise3D.hlsl

# SuperSimplex & FastSimplex

The following shaders are originally developed by K.jpg and put under the
public domain (Unlicense). See the file headers for details.

- BCCNoise4.hlsl
- BCCNoise8.hlsl
18 changes: 18 additions & 0 deletions Packages/jp.keijiro.noiseshader/LICENSE
@@ -0,0 +1,18 @@
# webgl-noise

The following shaders are originally developed by Stefan Gustavson and Ahima
Arts. These shaders are distributed under the MIT license. See the file headers
for details.

- ClassicNoise2D.hlsl
- ClassicNoise3D.hlsl
- SimplexNoise2D.hlsl
- SimplexNoise3D.hlsl

# SuperSimplex & FastSimplex

The following shaders are originally developed by K.jpg and put under the
public domain (Unlicense). See the file headers for details.

- BCCNoise4.hlsl
- BCCNoise8.hlsl
7 changes: 7 additions & 0 deletions Packages/jp.keijiro.noiseshader/LICENSE.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

60 changes: 60 additions & 0 deletions Packages/jp.keijiro.noiseshader/README.md
@@ -0,0 +1,60 @@
Noise Shader Library for Unity
==============================

This is a Unity shader library that contains several gradient noise functions.

From webgl-noise written by Stefan Gustavson and Ahima Arts:

https://github.com/ashima/webgl-noise

- Classic Perlin noise (2D/3D)
- Periodic Perlin noise (2D/3D)
- Simplex noise (2D/3D)
- Analytical derivatives of simplex noise (2D/3D)

From K.jpg's SuperSimplex & FastSimplex repository:

https://github.com/KdotJPG/New-Simplex-Style-Gradient-Noise

- SuperSimplexNoise (3D)
- FastSimplexStyleNoise (3D)

How To Install
--------------

This package uses the [scoped registry] feature to resolve package dependencies.
Please add the following sections to the manifest file (Packages/manifest.json).

[scoped registry]: https://docs.unity3d.com/Manual/upm-scoped.html

To the `scopedRegistries` section:

```
{
"name": "Keijiro",
"url": "https://registry.npmjs.com",
"scopes": [ "jp.keijiro" ]
}
```

To the `dependencies` section:

```
"jp.keijiro.noiseshader": "1.0.0"
```

After changes, the manifest file should look like below:

```
{
"scopedRegistries": [
{
"name": "Keijiro",
"url": "https://registry.npmjs.com",
"scopes": [ "jp.keijiro" ]
}
],
"dependencies": {
"jp.keijiro.noiseshader": "1.0.0",
...
```
7 changes: 7 additions & 0 deletions Packages/jp.keijiro.noiseshader/README.md.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 39 additions & 2 deletions README.md
Expand Up @@ -19,5 +19,42 @@ https://github.com/KdotJPG/New-Simplex-Style-Gradient-Noise
- SuperSimplexNoise (3D)
- FastSimplexStyleNoise (3D)

The former ones are released under the MIT license, and the latter ones are
public domain (Unlicense). Please check the header comments for details.
How To Install
--------------

This package uses the [scoped registry] feature to resolve package dependencies.
Please add the following sections to the manifest file (Packages/manifest.json).

[scoped registry]: https://docs.unity3d.com/Manual/upm-scoped.html

To the `scopedRegistries` section:

```
{
"name": "Keijiro",
"url": "https://registry.npmjs.com",
"scopes": [ "jp.keijiro" ]
}
```

To the `dependencies` section:

```
"jp.keijiro.noiseshader": "1.0.0"
```

After changes, the manifest file should look like below:

```
{
"scopedRegistries": [
{
"name": "Keijiro",
"url": "https://registry.npmjs.com",
"scopes": [ "jp.keijiro" ]
}
],
"dependencies": {
"jp.keijiro.noiseshader": "1.0.0",
...
```

0 comments on commit 3466f10

Please sign in to comment.