Skip to content

Commit

Permalink
scale values from 0-255 to 0-1; fix output encodings
Browse files Browse the repository at this point in the history
  • Loading branch information
null511 committed Jan 4, 2021
1 parent 252cde9 commit d4e3159
Show file tree
Hide file tree
Showing 281 changed files with 585 additions and 780 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
- name: Publish LAB11-16x
run: |
docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \
publish -p "//content/src/lab11-16x.pack.yml" -z "//content/Textureless-LAB11-16x.zip"
publish -p "//content/src/legacy-16x.pack.yml" -z "//content/Textureless-LegacyPBR-16x.zip"
- name: Publish LAB13-16x
run: |
docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \
publish -p "//content/src/lab13-16x.pack.yml" -z "//content/Textureless-LAB13-16x.zip"
publish -p "//content/src/lab13-16x.pack.yml" -z "//content/Textureless-LabPBR-16x.zip"
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -28,22 +28,21 @@ jobs:
with:
tag_name: v${{ github.event.inputs.version }}
release_name: Release ${{ github.event.inputs.version }}
#draft: true
- name: Upload LAB11-16x
- name: Upload LegacyPBR-16x
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Textureless-LAB11-16x.zip
asset_name: Textureless-LAB11-16x.zip
asset_path: ./Textureless-LegacyPBR-16x.zip
asset_name: Textureless-LegacyPBR-16x.zip
asset_content_type: application/zip
- name: Upload LAB13-16x
- name: Upload LabPBR-16x
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Textureless-LAB13-16x.zip
asset_name: Textureless-LAB13-16x.zip
asset_path: ./Textureless-LabPBR-16x.zip
asset_name: Textureless-LabPBR-16x.zip
asset_content_type: application/zip
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# Textureless
A Minecraft Resource Pack that uses material values instead of textures. This content is intended for debugging shaders or using as a base for your own custom RP's, not regular gameplay.
A Minecraft Resource Pack that uses material values instead of textures. This RP _was_ intended for debugging shaders, or using as a base for your own custom RP's - but I've found it can also be useful for gameplay when using "toon" style shaders.

<img src="https://github.com/null511/MCRP-Textureless/raw/main/media/title-ice.png" alt="Preview"></img>
_Preview of Textureless using [BSL shaders](https://bitslablab.com/bslshaders) with promo-outline enabled._

## Try It
You can use this resource pack as-is, in either Lab-1.1 or Lab-1.3 encoding, both with generated 16x textures for surface-normal curvature and noise. You can find them under _Assets_ in the [Releases](https://github.com/null511/MCRP-Textureless/releases) section.
You can use this resource pack as-is, in either legacy PBR ("old" PBR) or modern LabPBR [1.3] encoding; both with generated 16x textures for surface-normals and alpha masking. You can find them under _Assets_ in the [Releases](https://github.com/null511/MCRP-Textureless/releases) section.

## Editing

If you do not already have it, you will first want to download a copy of [PixelGraph](https://github.com/null511/PixelGraph/releases). Links to CLI and UI can be found under _Assets_. To avoid publishing repository resources, `~/src` is used as the root content directory.

## Caution
Does actually contain _some_ tetxures for alpha masking (so foliage isn't ruined).
Does actually contain _some_ tetxures for alpha masking (so foliage isn't ruined); and more recently _some_ colors to make certain blocks distinguishable.

## License
Licensed under Creative Commons Zero v1.0 Universal. You may freely use, modify, and redistribute this content.
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/acacia_door.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ height:
occlusion:
value: 0
smooth:
value: 100
value: 0.39
metal:
value: 0
porosity:
value: 50
value: 0.2
parts:
- name: acacia_door_top
top: 0
Expand Down
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/acacia_leaves.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ normal:
occlusion:
value: 0
smooth:
value: 40
value: 0.16
sss:
value: 160
value: 0.63
2 changes: 1 addition & 1 deletion src/assets/minecraft/textures/block/acacia_log.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ smooth:
metal:
value: 0
porosity:
value: 160
value: 0.63
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/acacia_log_top.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ height:
occlusion:
value: 0
smooth:
value: 60
value: 0.24
metal:
value: 0
porosity:
value: 30
value: 0.12
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/acacia_planks.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ height:
occlusion:
value: 0
smooth:
value: 120
value: 0.47
metal:
value: 0
porosity:
value: 50
value: 0.2
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/acacia_trapdoor.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ height:
occlusion:
value: 0
smooth:
value: 160
value: 0.63
metal:
value: 0
porosity:
value: 50
value: 0.2
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/allium.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ normal:
occlusion:
value: 0
smooth:
value: 20
value: 0.08
sss:
value: 180
value: 0.71
2 changes: 1 addition & 1 deletion src/assets/minecraft/textures/block/andesite.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ height:
normal:
noise: 10
smooth:
value: 30
value: 0.12
5 changes: 2 additions & 3 deletions src/assets/minecraft/textures/block/anvil.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ height:
occlusion:
value: 0
smooth:
value: 80
value: 0.31
metal:
value: 230
porosity: {}
value: 0.9
5 changes: 2 additions & 3 deletions src/assets/minecraft/textures/block/anvil_top.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ height:
occlusion:
value: 0
smooth:
value: 80
value: 0.31
metal:
value: 230
porosity: {}
value: 0.9
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ albedo:
height:
value: 0
smooth:
value: 60
value: 0.24
sss:
value: 180
value: 0.71
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/bamboo_stalk.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ albedo:
height:
value: 0
smooth:
value: 60
value: 0.24
sss:
value: 90
value: 0.35
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/basalt_side.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ occlusion:
normal:
noise: 8
smooth:
value: 70
value: 0.29
porosity:
value: 120
value: 0.47
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/basalt_top.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ occlusion:
normal:
noise: 15
smooth:
value: 50
value: 0.2
porosity:
value: 160
value: 0.63
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/birch_door.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ height:
occlusion:
value: 0
smooth:
value: 100
value: 0.39
metal:
value: 0
porosity:
value: 50
value: 0.2
parts:
- name: birch_door_top
top: 0
Expand Down
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/birch_leaves.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ normal:
occlusion:
value: 0
smooth:
value: 60
value: 0.24
sss:
value: 160
value: 0.63
2 changes: 1 addition & 1 deletion src/assets/minecraft/textures/block/birch_log.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ smooth:
metal:
value: 0
porosity:
value: 100
value: 0.39
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/birch_log_top.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ height:
occlusion:
value: 0
smooth:
value: 60
value: 0.24
metal:
value: 0
porosity:
value: 30
value: 0.12
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/birch_planks.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ height:
occlusion:
value: 0
smooth:
value: 120
value: 0.47
metal:
value: 0
porosity:
value: 50
value: 0.2
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/birch_trapdoor.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ height:
occlusion:
value: 0
smooth:
value: 100
value: 0.39
metal:
value: 0
porosity:
value: 50
value: 0.2
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/black_concrete.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ height:
normal:
noise: 5
smooth:
value: 10
value: 0.04
porosity:
value: 120
value: 0.47
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ albedo:
alpha:
value: 255
normal:
value-x: 127
value-y: 127
value-z: 255
value-x: 0.5
value-y: 0.5
value-z: 1.0
porosity:
value: 0
value: 0.0
emissive:
value: 255
value: 1.0
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,4 @@ albedo:
height:
value: 0
smooth:
value: 255
sss:
value: 255
value: 1.0
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/black_terracotta.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ height:
normal:
noise: 1
smooth:
value: 120
value: 0.47
porosity:
value: 10
value: 0.04
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/black_wool.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ height:
normal:
noise: 15
smooth:
value: 0
value: 0.0
sss:
value: 140
value: 0.55
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/blackstone.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ height:
normal:
noise: 8
smooth:
value: 10
value: 0.04
porosity:
value: 20
value: 0.08
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/blackstone_top.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ height:
normal:
noise: 8
smooth:
value: 10
value: 0.04
porosity:
value: 20
value: 0.08
4 changes: 2 additions & 2 deletions src/assets/minecraft/textures/block/blue_concrete.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ height:
normal:
noise: 5
smooth:
value: 10
value: 0.08
porosity:
value: 120
value: 0.47
10 changes: 5 additions & 5 deletions src/assets/minecraft/textures/block/blue_concrete_powder.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ albedo:
value-green: 72
value-blue: 165
normal:
value-x: 127
value-y: 127
value-z: 255
value-x: 0.5
value-y: 0.5
value-z: 1.0
porosity:
value: 0
value: 0.0
emissive:
value: 255
value: 1.0
6 changes: 3 additions & 3 deletions src/assets/minecraft/textures/block/blue_ice.pbr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ albedo:
value-green: 168
value-blue: 253
height:
value: 0
value: 0.0
smooth:
value: 255
value: 1.0
sss:
value: 255
value: 1.0
13 changes: 6 additions & 7 deletions src/assets/minecraft/textures/block/blue_orchid.pbr.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
albedo: {}
height:
value: 0
normal:
value-x: 127
value-y: 127
value-z: 255
value-x: 0.5
value-y: 0.5
value-z: 1.0
occlusion:
value: 0
value: 0.0
smooth:
value: 20
value: 0.08
sss:
value: 180
value: 0.71
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ albedo:
height:
value: 0
smooth:
value: 255
value: 1.0
sss:
value: 255
value: 1.0
Loading

0 comments on commit d4e3159

Please sign in to comment.