Skip to content

Commit

Permalink
Change package name and add installation to README
Browse files Browse the repository at this point in the history
  • Loading branch information
Delt06 committed May 31, 2021
1 parent d37d776 commit dd25810
Show file tree
Hide file tree
Showing 34 changed files with 17 additions and 8 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;

namespace DELTation.Scripts
// ReSharper disable once CheckNamespace
namespace DELTation.ToonShader
{
public class DepthNormalsFeature : ScriptableRendererFeature
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
using UnityEngine.Rendering;
using UnityEngine.Rendering.Universal;

namespace DELTation.Scripts
// ReSharper disable once CheckNamespace
namespace DELTation.ToonShader
{
public class OutlineFeature : ScriptableRendererFeature
{
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "com.deltation.toonshader",
"name": "com.deltation.toon-shader",
"displayName": "Toon Shader",
"description": "Stylized toon shader for URP.",
"version": "0.1.0",
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions Packages/packages-lock.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"com.deltation.toonshader": {
"version": "file:ToonShader",
"com.deltation.toon-shader": {
"version": "file:com.deltation.toon-shader",
"depth": 0,
"source": "embedded",
"dependencies": {
Expand Down
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,17 @@ A toon shader compatible with the Universal Rendering Pipeline.
## Extras
- Depth+Normals+Color-based outline render feature

## Usage
- Download and import the `Assets/DELTation` folder.
## Installation
### Option 1
- Open Package Manager through Window/Package Manager
- Click "+" and choose "Add package from git URL..."
- Insert the URL: https://github.com/Delt06/urp-toon-shader.git?path=Packages/com.deltation.toon-shader

**TODO**: allow installation via Package Manager.
### Option 2
Add the following line to `Packages/manifest.json`:
```
"com.deltation.toon-shader": "https://github.com/Delt06/urp-toon-shader.git?path=Packages/com.deltation.toon-shader",
```

## Used Assets
- [Animated Mech Pack](https://quaternius.com/packs/animatedmech.html) by Quaternius

0 comments on commit dd25810

Please sign in to comment.