Skip to content

Commit

Permalink
add birch leaf model; improved birch/oak planks, furnace_front
Browse files Browse the repository at this point in the history
  • Loading branch information
null511 committed Jul 19, 2021
1 parent 6bf7de8 commit 5ef2725
Show file tree
Hide file tree
Showing 36 changed files with 167 additions and 47 deletions.
115 changes: 85 additions & 30 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,14 @@ on:
required: true

jobs:
Publish-LabPbr-16x:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker pull null511/pixelgraph
- run: |
docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \
publish -p "//content/src/Textureless-LabPbr-16x.pack.yml" -z "//content/Textureless-LabPbr-16x.zip"
- name: Upload LabPbr 16x
uses: actions/upload-artifact@v2
with:
name: Textureless-LabPbr-16x
path: Textureless-LabPbr-16x.zip

Publish-LabPbr-32x:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker pull null511/pixelgraph
- run: |
docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \
publish -p "//content/src/Textureless-LabPbr-32x.pack.yml" -z "//content/Textureless-LabPbr-32x.zip"
publish -p "//content/src/LabPbr-32x.pack.yml" -z "//content/Textureless-LabPbr-32x.zip"
- name: Upload LabPbr 32x
uses: actions/upload-artifact@v2
with:
Expand All @@ -42,7 +28,7 @@ jobs:
- run: docker pull null511/pixelgraph
- run: |
docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \
publish -p "//content/src/Textureless-LabBakedAO-32x.pack.yml" -z "//content/Textureless-LabBakedAO-32x.zip"
publish -p "//content/src/LabBakedAO-32x.pack.yml" -z "//content/Textureless-LabBakedAO-32x.zip"
- name: Upload LabBakedAO 32x
uses: actions/upload-artifact@v2
with:
Expand All @@ -56,21 +42,59 @@ jobs:
- run: docker pull null511/pixelgraph
- run: |
docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \
publish -p "//content/src/Textureless-OldBakedAO-32x.pack.yml" -z "//content/Textureless-OldBakedAO-32x.zip"
publish -p "//content/src/OldBakedAO-32x.pack.yml" -z "//content/Textureless-OldBakedAO-32x.zip"
- name: Upload OldBakedAO 32x
uses: actions/upload-artifact@v2
with:
name: Textureless-OldBakedAO-32x
path: Textureless-OldBakedAO-32x.zip

Publish-Models-LabPbr-32x:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker pull null511/pixelgraph
- run: |
docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \
publish -p "//content/src-models/LabPbr-32x.pack.yml" -z "//content/Textureless-Models-LabPbr-32x.zip"
- name: Upload Models LabPbr 32x
uses: actions/upload-artifact@v2
with:
name: Textureless-Models-LabPbr-32x
path: Textureless-Models-LabPbr-32x.zip

Publish-Models-LabBakedAO-32x:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker pull null511/pixelgraph
- run: |
docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \
publish -p "//content/src-models/LabBakedAO-32x.pack.yml" -z "//content/Textureless-Models-LabBakedAO-32x.zip"
- name: Upload Models LabBakedAO 32x
uses: actions/upload-artifact@v2
with:
name: Textureless-Models-LabBakedAO-32x
path: Textureless-Models-LabBakedAO-32x.zip

Publish-Models-OldBakedAO-32x:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker pull null511/pixelgraph
- run: |
docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \
publish -p "//content/src-models/OldBakedAO-32x.pack.yml" -z "//content/Textureless-Models-OldBakedAO-32x.zip"
- name: Upload Models OldBakedAO 32x
uses: actions/upload-artifact@v2
with:
name: Textureless-Models-OldBakedAO-32x
path: Textureless-Models-OldBakedAO-32x.zip

Create-Release:
runs-on: ubuntu-latest
needs: [Publish-LabPbr-16x, Publish-LabPbr-32x, Publish-LabBakedAO-32x, Publish-OldBakedAO-32x]
steps:
- name: Download LabPbr 16x
uses: actions/download-artifact@v2
with:
name: Textureless-LabPbr-16x
- name: Download LabPbr 32x
uses: actions/download-artifact@v2
with:
Expand All @@ -83,6 +107,18 @@ jobs:
uses: actions/download-artifact@v2
with:
name: Textureless-OldBakedAO-32x
- name: Download Models LabPbr 32x
uses: actions/download-artifact@v2
with:
name: Textureless-Models-LabPbr-32x
- name: Download Models LabBakedAO 32x
uses: actions/download-artifact@v2
with:
name: Textureless-Models-LabBakedAO-32x
- name: Download Models OldBakedAO 32x
uses: actions/download-artifact@v2
with:
name: Textureless-Models-OldBakedAO-32x
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -91,15 +127,6 @@ jobs:
with:
tag_name: v${{ github.event.inputs.version }}
release_name: Release ${{ github.event.inputs.version }}
- name: Upload 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-LabPbr-16x.zip
asset_name: Textureless-LabPbr-16x.zip
asset_content_type: application/zip
- name: Upload 32x
uses: actions/upload-release-asset@v1
env:
Expand Down Expand Up @@ -128,6 +155,34 @@ jobs:
asset_name: Textureless-OldBakedAO-32x.zip
asset_content_type: application/zip

- name: Upload Models 32x
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Textureless-Models-LabPbr-32x.zip
asset_name: Textureless-Models-LabPbr-32x.zip
asset_content_type: application/zip
- name: Upload Models LabBakedAO 32x
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Textureless-Models-LabBakedAO-32x.zip
asset_name: Textureless-Models-LabBakedAO-32x.zip
asset_content_type: application/zip
- name: Upload Models OldBakedAO 32x
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./Textureless-Models-OldBakedAO-32x.zip
asset_name: Textureless-Models-OldBakedAO-32x.zip
asset_content_type: application/zip

Upload-CurseForge:
runs-on: ubuntu-latest
needs: Create-Release
Expand Down
29 changes: 29 additions & 0 deletions src-models/assets/minecraft/blockstates/birch_leaves.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"variants": {
"": [
{
"model": "block/birch_leaves"
},
{
"model": "block/birch_leaves",
"y": 90
},
{
"model": "block/birch_leaves",
"y": 180
},
{
"model": "block/birch_leaves",
"y": 270
},
{
"model": "block/birch_leaves",
"z": 90
},
{
"model": "block/birch_leaves",
"x": 90
}
]
}
}
6 changes: 6 additions & 0 deletions src-models/assets/minecraft/models/block/birch_leaves.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"parent": "block/leaves_alt_MQ",
"textures": {
"all": "block/birch_leaves"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions src-models/assets/minecraft/textures/block/birch_leaves/pbr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
publish-inventory: true
color-tint: '#80a755'
color:
value-red: 200
value-green: 200
value-blue: 200
height:
value: 0
normal:
method: sobel-low
occlusion:
step-distance: 0.2
z-bias: 0
z-scale: 6
f0:
value: 0.017
sss:
value: 0.4
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions src/assets/minecraft/textures/block/birch_planks/.ignore/pbr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
publish-inventory: true
alpha:
value: 255
height:
scale: 0.3
normal:
strength: 0.5
filter: sobel-high
occlusion:
z-bias: 0
z-scale: 3
step-distance: 0.15
smooth:
scale: 0.6
metal: {}
f0:
value: 0.044
porosity: {}
create-inventory: true
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/birch_planks/albedo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/birch_planks/height.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/birch_planks/occlusion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 6 additions & 9 deletions src/assets/minecraft/textures/block/birch_planks/pbr.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
publish-inventory: true
alpha:
opacity:
value: 255
height:
scale: 0.3
normal:
strength: 0.5
filter: sobel-high
method: sobel-low
strength: 0.3
occlusion:
step-distance: 0.15
z-bias: 0
z-scale: 3
step-distance: 0.15
smooth:
scale: 0.6
metal: {}
f0:
value: 0.044
porosity: {}
create-inventory: true
porosity:
scale: 0.6
Binary file modified src/assets/minecraft/textures/block/birch_planks/porosity.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/birch_planks/smooth.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/furnace_front/albedo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/furnace_front/height.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/furnace_front/occlusion.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 4 additions & 8 deletions src/assets/minecraft/textures/block/furnace_front/pbr.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
alpha:
publish-inventory: true
opacity:
value: 255
height: {}
normal:
method: sobel-high
strength: 1.2
noise: 1
filter: sobel-high
occlusion:
step-distance: 0.5
z-bias: 0
z-scale: 5
step-distance: 0.15
smooth: {}
f0: {}
porosity: {}
create-inventory: true
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/furnace_front_on/albedo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/furnace_front_on/height.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/oak_planks/albedo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified src/assets/minecraft/textures/block/oak_planks/height.png
Binary file modified src/assets/minecraft/textures/block/oak_planks/occlusion.png
Binary file modified src/assets/minecraft/textures/block/oak_planks/porosity.png
Binary file modified src/assets/minecraft/textures/block/oak_planks/smooth.png

0 comments on commit 5ef2725

Please sign in to comment.