From 6deb9d292c55c6c1b1672ff8b610ac30e67ee767 Mon Sep 17 00:00:00 2001 From: NULL511 Date: Mon, 14 Dec 2020 00:18:11 -0500 Subject: [PATCH] initial --- .github/workflows/manual.yml | 49 +++++++ .gitignore | 2 + LICENSE.txt | 121 ++++++++++++++++++ README.md | 10 ++ .../textures/block/acacia_log.pbr.yml | 19 +++ .../minecraft/textures/block/andesite.pbr.yml | 12 ++ .../minecraft/textures/block/bedrock.pbr.yml | 10 ++ .../textures/block/birch_log.pbr.yml | 19 +++ .../textures/block/cactus_side.pbr.yml | 14 ++ .../textures/block/cactus_top.pbr.yml | 15 +++ .../minecraft/textures/block/cobblestone.yml | 14 ++ .../minecraft/textures/block/dirt.pbr.yml | 14 ++ .../textures/block/gold_block.pbr.yml | 16 +++ .../minecraft/textures/block/granite.pbr.yml | 12 ++ .../textures/block/grass_block_side.pbr.yml | 14 ++ .../textures/block/grass_block_top.pbr.yml | 14 ++ .../minecraft/textures/block/gravel.pbr.yml | 12 ++ .../textures/block/iron_block.pbr.yml | 15 +++ .../textures/block/pumpkin_side.pbr.yml | 15 +++ .../textures/block/pumpkin_top.pbr.yml | 15 +++ .../textures/block/redstone_block.pbr.yml | 14 ++ .../minecraft/textures/block/sand.pbr.yml | 14 ++ .../minecraft/textures/block/snow.pbr.yml | 14 ++ .../textures/block/spruce_log.pbr.yml | 19 +++ src/default.pack.yml | 26 ++++ src/input.yml | 22 ++++ 26 files changed, 521 insertions(+) create mode 100644 .github/workflows/manual.yml create mode 100644 .gitignore create mode 100644 LICENSE.txt create mode 100644 README.md create mode 100644 src/assets/minecraft/textures/block/acacia_log.pbr.yml create mode 100644 src/assets/minecraft/textures/block/andesite.pbr.yml create mode 100644 src/assets/minecraft/textures/block/bedrock.pbr.yml create mode 100644 src/assets/minecraft/textures/block/birch_log.pbr.yml create mode 100644 src/assets/minecraft/textures/block/cactus_side.pbr.yml create mode 100644 src/assets/minecraft/textures/block/cactus_top.pbr.yml create mode 100644 src/assets/minecraft/textures/block/cobblestone.yml create mode 100644 src/assets/minecraft/textures/block/dirt.pbr.yml create mode 100644 src/assets/minecraft/textures/block/gold_block.pbr.yml create mode 100644 src/assets/minecraft/textures/block/granite.pbr.yml create mode 100644 src/assets/minecraft/textures/block/grass_block_side.pbr.yml create mode 100644 src/assets/minecraft/textures/block/grass_block_top.pbr.yml create mode 100644 src/assets/minecraft/textures/block/gravel.pbr.yml create mode 100644 src/assets/minecraft/textures/block/iron_block.pbr.yml create mode 100644 src/assets/minecraft/textures/block/pumpkin_side.pbr.yml create mode 100644 src/assets/minecraft/textures/block/pumpkin_top.pbr.yml create mode 100644 src/assets/minecraft/textures/block/redstone_block.pbr.yml create mode 100644 src/assets/minecraft/textures/block/sand.pbr.yml create mode 100644 src/assets/minecraft/textures/block/snow.pbr.yml create mode 100644 src/assets/minecraft/textures/block/spruce_log.pbr.yml create mode 100644 src/default.pack.yml create mode 100644 src/input.yml diff --git a/.github/workflows/manual.yml b/.github/workflows/manual.yml new file mode 100644 index 00000000..c6477855 --- /dev/null +++ b/.github/workflows/manual.yml @@ -0,0 +1,49 @@ +name: Manual triggered publishing workflow +on: + workflow_dispatch: + inputs: + version: + description: 'Release version number.' + required: true + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - run: docker pull null511/pixelgraph + - name: Publish Default-LAB11 + run: | + docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \ + publish -p "//content/src/default-lab11.pack.yml" -z "//content/Textureless-LAB11.zip" + - name: Publish Default-LAB13 + run: | + docker run --name pixelgraph --rm --mount src="$(pwd)",target=/content,type=bind null511/pixelgraph \ + publish -p "//content/src/default-lab13.pack.yml" -z "//content/Textureless-LAB13.zip" + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ github.event.inputs.version }} + release_name: Release ${{ github.event.inputs.version }} + draft: true + - name: Upload Textureless-LAB11 + 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.zip + asset_name: Textureless-LAB11.zip + asset_content_type: application/zip + - name: Upload Textureless-LAB13 + 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.zip + asset_name: Textureless-LAB13.zip + asset_content_type: application/zip diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..b0ba5a73 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.zip +/local/ diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 00000000..1625c179 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,121 @@ +Creative Commons Legal Code + +CC0 1.0 Universal + + CREATIVE COMMONS CORPORATION IS NOT A LAW FIRM AND DOES NOT PROVIDE + LEGAL SERVICES. DISTRIBUTION OF THIS DOCUMENT DOES NOT CREATE AN + ATTORNEY-CLIENT RELATIONSHIP. CREATIVE COMMONS PROVIDES THIS + INFORMATION ON AN "AS-IS" BASIS. CREATIVE COMMONS MAKES NO WARRANTIES + REGARDING THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS + PROVIDED HEREUNDER, AND DISCLAIMS LIABILITY FOR DAMAGES RESULTING FROM + THE USE OF THIS DOCUMENT OR THE INFORMATION OR WORKS PROVIDED + HEREUNDER. + +Statement of Purpose + +The laws of most jurisdictions throughout the world automatically confer +exclusive Copyright and Related Rights (defined below) upon the creator +and subsequent owner(s) (each and all, an "owner") of an original work of +authorship and/or a database (each, a "Work"). + +Certain owners wish to permanently relinquish those rights to a Work for +the purpose of contributing to a commons of creative, cultural and +scientific works ("Commons") that the public can reliably and without fear +of later claims of infringement build upon, modify, incorporate in other +works, reuse and redistribute as freely as possible in any form whatsoever +and for any purposes, including without limitation commercial purposes. +These owners may contribute to the Commons to promote the ideal of a free +culture and the further production of creative, cultural and scientific +works, or to gain reputation or greater distribution for their Work in +part through the use and efforts of others. + +For these and/or other purposes and motivations, and without any +expectation of additional consideration or compensation, the person +associating CC0 with a Work (the "Affirmer"), to the extent that he or she +is an owner of Copyright and Related Rights in the Work, voluntarily +elects to apply CC0 to the Work and publicly distribute the Work under its +terms, with knowledge of his or her Copyright and Related Rights in the +Work and the meaning and intended legal effect of CC0 on those rights. + +1. Copyright and Related Rights. A Work made available under CC0 may be +protected by copyright and related or neighboring rights ("Copyright and +Related Rights"). Copyright and Related Rights include, but are not +limited to, the following: + + i. the right to reproduce, adapt, distribute, perform, display, + communicate, and translate a Work; + ii. moral rights retained by the original author(s) and/or performer(s); +iii. publicity and privacy rights pertaining to a person's image or + likeness depicted in a Work; + iv. rights protecting against unfair competition in regards to a Work, + subject to the limitations in paragraph 4(a), below; + v. rights protecting the extraction, dissemination, use and reuse of data + in a Work; + vi. database rights (such as those arising under Directive 96/9/EC of the + European Parliament and of the Council of 11 March 1996 on the legal + protection of databases, and under any national implementation + thereof, including any amended or successor version of such + directive); and +vii. other similar, equivalent or corresponding rights throughout the + world based on applicable law or treaty, and any national + implementations thereof. + +2. Waiver. To the greatest extent permitted by, but not in contravention +of, applicable law, Affirmer hereby overtly, fully, permanently, +irrevocably and unconditionally waives, abandons, and surrenders all of +Affirmer's Copyright and Related Rights and associated claims and causes +of action, whether now known or unknown (including existing as well as +future claims and causes of action), in the Work (i) in all territories +worldwide, (ii) for the maximum duration provided by applicable law or +treaty (including future time extensions), (iii) in any current or future +medium and for any number of copies, and (iv) for any purpose whatsoever, +including without limitation commercial, advertising or promotional +purposes (the "Waiver"). Affirmer makes the Waiver for the benefit of each +member of the public at large and to the detriment of Affirmer's heirs and +successors, fully intending that such Waiver shall not be subject to +revocation, rescission, cancellation, termination, or any other legal or +equitable action to disrupt the quiet enjoyment of the Work by the public +as contemplated by Affirmer's express Statement of Purpose. + +3. Public License Fallback. Should any part of the Waiver for any reason +be judged legally invalid or ineffective under applicable law, then the +Waiver shall be preserved to the maximum extent permitted taking into +account Affirmer's express Statement of Purpose. In addition, to the +extent the Waiver is so judged Affirmer hereby grants to each affected +person a royalty-free, non transferable, non sublicensable, non exclusive, +irrevocable and unconditional license to exercise Affirmer's Copyright and +Related Rights in the Work (i) in all territories worldwide, (ii) for the +maximum duration provided by applicable law or treaty (including future +time extensions), (iii) in any current or future medium and for any number +of copies, and (iv) for any purpose whatsoever, including without +limitation commercial, advertising or promotional purposes (the +"License"). The License shall be deemed effective as of the date CC0 was +applied by Affirmer to the Work. Should any part of the License for any +reason be judged legally invalid or ineffective under applicable law, such +partial invalidity or ineffectiveness shall not invalidate the remainder +of the License, and in such case Affirmer hereby affirms that he or she +will not (i) exercise any of his or her remaining Copyright and Related +Rights in the Work or (ii) assert any associated claims and causes of +action with respect to the Work, in either case contrary to Affirmer's +express Statement of Purpose. + +4. Limitations and Disclaimers. + + a. No trademark or patent rights held by Affirmer are waived, abandoned, + surrendered, licensed or otherwise affected by this document. + b. Affirmer offers the Work as-is and makes no representations or + warranties of any kind concerning the Work, express, implied, + statutory or otherwise, including without limitation warranties of + title, merchantability, fitness for a particular purpose, non + infringement, or the absence of latent or other defects, accuracy, or + the present or absence of errors, whether or not discoverable, all to + the greatest extent permissible under applicable law. + c. Affirmer disclaims responsibility for clearing rights of other persons + that may apply to the Work or any use thereof, including without + limitation any person's Copyright and Related Rights in the Work. + Further, Affirmer disclaims responsibility for obtaining any necessary + consents, permissions or other rights required for any use of the + Work. + d. Affirmer understands and acknowledges that Creative Commons is not a + party to this document and has no duty or obligation with respect to + this CC0 or use of the Work. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 00000000..c950b6f2 --- /dev/null +++ b/README.md @@ -0,0 +1,10 @@ +# 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. + +Uses [PixelGraph](https://github.com/null511/PixelGraph) for publishing. + +### Caution +May actually contain _some_ tetxures for alpha masking. + +### License +Licensed under Creative Commons Zero v1.0 Universal. You may freely use, modify, and redistribute this content. diff --git a/src/assets/minecraft/textures/block/acacia_log.pbr.yml b/src/assets/minecraft/textures/block/acacia_log.pbr.yml new file mode 100644 index 00000000..e741b3e4 --- /dev/null +++ b/src/assets/minecraft/textures/block/acacia_log.pbr.yml @@ -0,0 +1,19 @@ +alpha: + value: 255 +albedo: + value-red: 104 + value-green: 97 + value-blue: 88 +height: + value: 0 +normal: + noise: 6 + curve-x: 90 +occlusion: + value: 0 +smooth: + value: 0 +metal: + value: 0 +porosity: + value: 160 diff --git a/src/assets/minecraft/textures/block/andesite.pbr.yml b/src/assets/minecraft/textures/block/andesite.pbr.yml new file mode 100644 index 00000000..ffae81c3 --- /dev/null +++ b/src/assets/minecraft/textures/block/andesite.pbr.yml @@ -0,0 +1,12 @@ +alpha: + value: 255 +albedo: + value-red: 139 + value-green: 139 + value-blue: 138 +height: + value: 0 +normal: + noise: 10 +smooth: + value: 30 diff --git a/src/assets/minecraft/textures/block/bedrock.pbr.yml b/src/assets/minecraft/textures/block/bedrock.pbr.yml new file mode 100644 index 00000000..394e2034 --- /dev/null +++ b/src/assets/minecraft/textures/block/bedrock.pbr.yml @@ -0,0 +1,10 @@ +alpha: + value: 255 +albedo: + value-red: 30 + value-green: 30 + value-blue: 30 +height: + value: 0 +normal: + noise: 10 diff --git a/src/assets/minecraft/textures/block/birch_log.pbr.yml b/src/assets/minecraft/textures/block/birch_log.pbr.yml new file mode 100644 index 00000000..e7f38656 --- /dev/null +++ b/src/assets/minecraft/textures/block/birch_log.pbr.yml @@ -0,0 +1,19 @@ +alpha: + value: 255 +albedo: + value-red: 231 + value-green: 223 + value-blue: 214 +height: + value: 0 +normal: + noise: 1 + curve-x: 90 +occlusion: + value: 0 +smooth: + value: 0 +metal: + value: 0 +porosity: + value: 100 diff --git a/src/assets/minecraft/textures/block/cactus_side.pbr.yml b/src/assets/minecraft/textures/block/cactus_side.pbr.yml new file mode 100644 index 00000000..b499affb --- /dev/null +++ b/src/assets/minecraft/textures/block/cactus_side.pbr.yml @@ -0,0 +1,14 @@ +alpha: + value: 255 +albedo: + value-red: 88 + value-green: 144 + value-blue: 35 +height: + value: 0 +normal: + curve-x: 90 +smooth: + value: 100 +sss: + value: 80 diff --git a/src/assets/minecraft/textures/block/cactus_top.pbr.yml b/src/assets/minecraft/textures/block/cactus_top.pbr.yml new file mode 100644 index 00000000..af2dcb70 --- /dev/null +++ b/src/assets/minecraft/textures/block/cactus_top.pbr.yml @@ -0,0 +1,15 @@ +alpha: + value: 255 +albedo: + value-red: 88 + value-green: 144 + value-blue: 35 +height: + value: 0 +normal: + curve-x: 45 + curve-y: 45 +smooth: + value: 100 +sss: + value: 80 diff --git a/src/assets/minecraft/textures/block/cobblestone.yml b/src/assets/minecraft/textures/block/cobblestone.yml new file mode 100644 index 00000000..fe9091d5 --- /dev/null +++ b/src/assets/minecraft/textures/block/cobblestone.yml @@ -0,0 +1,14 @@ +alpha: + value: 255 +albedo: + value-red: 124 + value-green: 124 + value-blue: 124 +height: + value: 0 +normal: + noise: 4 +smooth: + value: 60 +porosity: + value: 140 diff --git a/src/assets/minecraft/textures/block/dirt.pbr.yml b/src/assets/minecraft/textures/block/dirt.pbr.yml new file mode 100644 index 00000000..74621cc8 --- /dev/null +++ b/src/assets/minecraft/textures/block/dirt.pbr.yml @@ -0,0 +1,14 @@ +alpha: + value: 255 +albedo: + value-red: 140 + value-green: 102 + value-blue: 66 +height: + value: 0 +normal: + noise: 15 +smooth: + value: 0 +porosity: + value: 200 diff --git a/src/assets/minecraft/textures/block/gold_block.pbr.yml b/src/assets/minecraft/textures/block/gold_block.pbr.yml new file mode 100644 index 00000000..bb33a17c --- /dev/null +++ b/src/assets/minecraft/textures/block/gold_block.pbr.yml @@ -0,0 +1,16 @@ +alpha: + value: 255 +albedo: + value-red: 226 + value-green: 176 + value-blue: 7 +height: + value: 0 +occlusion: + value: 0 +smooth: + value: 232 +metal: + value: 231 +porosity: + value: 0 diff --git a/src/assets/minecraft/textures/block/granite.pbr.yml b/src/assets/minecraft/textures/block/granite.pbr.yml new file mode 100644 index 00000000..e8335ce2 --- /dev/null +++ b/src/assets/minecraft/textures/block/granite.pbr.yml @@ -0,0 +1,12 @@ +alpha: + value: 255 +albedo: + value-red: 154 + value-green: 107 + value-blue: 89 +height: + value: 0 +normal: + noise: 10 +smooth: + value: 60 diff --git a/src/assets/minecraft/textures/block/grass_block_side.pbr.yml b/src/assets/minecraft/textures/block/grass_block_side.pbr.yml new file mode 100644 index 00000000..74621cc8 --- /dev/null +++ b/src/assets/minecraft/textures/block/grass_block_side.pbr.yml @@ -0,0 +1,14 @@ +alpha: + value: 255 +albedo: + value-red: 140 + value-green: 102 + value-blue: 66 +height: + value: 0 +normal: + noise: 15 +smooth: + value: 0 +porosity: + value: 200 diff --git a/src/assets/minecraft/textures/block/grass_block_top.pbr.yml b/src/assets/minecraft/textures/block/grass_block_top.pbr.yml new file mode 100644 index 00000000..047ae41f --- /dev/null +++ b/src/assets/minecraft/textures/block/grass_block_top.pbr.yml @@ -0,0 +1,14 @@ +alpha: + value: 255 +albedo: + value-red: 200 + value-green: 200 + value-blue: 200 +height: + value: 0 +normal: + noise: 6 +smooth: + value: 50 +sss: + value: 60 diff --git a/src/assets/minecraft/textures/block/gravel.pbr.yml b/src/assets/minecraft/textures/block/gravel.pbr.yml new file mode 100644 index 00000000..5774325d --- /dev/null +++ b/src/assets/minecraft/textures/block/gravel.pbr.yml @@ -0,0 +1,12 @@ +alpha: + value: 255 +albedo: + value-red: 138 + value-green: 133 + value-blue: 132 +height: + value: 0 +normal: + noise: 20 +smooth: + value: 90 diff --git a/src/assets/minecraft/textures/block/iron_block.pbr.yml b/src/assets/minecraft/textures/block/iron_block.pbr.yml new file mode 100644 index 00000000..0b9233d5 --- /dev/null +++ b/src/assets/minecraft/textures/block/iron_block.pbr.yml @@ -0,0 +1,15 @@ +alpha: + value: 255 +albedo: + value-red: 197 + value-green: 200 + value-blue: 200 +height: + value: 0 +occlusion: + value: 0 +smooth: + value: 210 +metal: + value: 230 +porosity: {} diff --git a/src/assets/minecraft/textures/block/pumpkin_side.pbr.yml b/src/assets/minecraft/textures/block/pumpkin_side.pbr.yml new file mode 100644 index 00000000..dfe87321 --- /dev/null +++ b/src/assets/minecraft/textures/block/pumpkin_side.pbr.yml @@ -0,0 +1,15 @@ +alpha: + value: 255 +albedo: + value-red: 187 + value-green: 112 + value-blue: 34 +height: + value: 0 +normal: + curve-x: 90 + curve-y: 90 +smooth: + value: 160 +porosity: + value: 0 diff --git a/src/assets/minecraft/textures/block/pumpkin_top.pbr.yml b/src/assets/minecraft/textures/block/pumpkin_top.pbr.yml new file mode 100644 index 00000000..dfe87321 --- /dev/null +++ b/src/assets/minecraft/textures/block/pumpkin_top.pbr.yml @@ -0,0 +1,15 @@ +alpha: + value: 255 +albedo: + value-red: 187 + value-green: 112 + value-blue: 34 +height: + value: 0 +normal: + curve-x: 90 + curve-y: 90 +smooth: + value: 160 +porosity: + value: 0 diff --git a/src/assets/minecraft/textures/block/redstone_block.pbr.yml b/src/assets/minecraft/textures/block/redstone_block.pbr.yml new file mode 100644 index 00000000..b2452389 --- /dev/null +++ b/src/assets/minecraft/textures/block/redstone_block.pbr.yml @@ -0,0 +1,14 @@ +alpha: + value: 255 +albedo: + value-red: 255 + value-green: 0 + value-blue: 0 +height: + value: 0 +smooth: + value: 120 +porosity: + value: 0 +emissive: + value: 100 diff --git a/src/assets/minecraft/textures/block/sand.pbr.yml b/src/assets/minecraft/textures/block/sand.pbr.yml new file mode 100644 index 00000000..f74ea4ab --- /dev/null +++ b/src/assets/minecraft/textures/block/sand.pbr.yml @@ -0,0 +1,14 @@ +alpha: + value: 255 +albedo: + value-red: 231 + value-green: 218 + value-blue: 174 +height: + value: 0 +normal: + noise: 4 +smooth: + value: 60 +porosity: + value: 240 diff --git a/src/assets/minecraft/textures/block/snow.pbr.yml b/src/assets/minecraft/textures/block/snow.pbr.yml new file mode 100644 index 00000000..e5f1e784 --- /dev/null +++ b/src/assets/minecraft/textures/block/snow.pbr.yml @@ -0,0 +1,14 @@ +alpha: + value: 255 +albedo: + value-red: 255 + value-green: 255 + value-blue: 255 +height: + value: 0 +normal: + noise: 2 +smooth: + value: 220 +sss: + value: 200 diff --git a/src/assets/minecraft/textures/block/spruce_log.pbr.yml b/src/assets/minecraft/textures/block/spruce_log.pbr.yml new file mode 100644 index 00000000..2c578e58 --- /dev/null +++ b/src/assets/minecraft/textures/block/spruce_log.pbr.yml @@ -0,0 +1,19 @@ +alpha: + value: 255 +albedo: + value-red: 61 + value-green: 40 + value-blue: 18 +height: + value: 0 +normal: + noise: 6 + curve-x: 90 +occlusion: + value: 0 +smooth: + value: 0 +metal: + value: 0 +porosity: + value: 160 diff --git a/src/default.pack.yml b/src/default.pack.yml new file mode 100644 index 00000000..cc517e14 --- /dev/null +++ b/src/default.pack.yml @@ -0,0 +1,26 @@ +edition: Java +format: 6 +description: No Textures! +tags: LAB-1.3 +texture-size: 32 +encoding: + format: lab-1.3 + alpha: {} + diffuse-red: {} + diffuse-green: {} + diffuse-blue: {} + albedo-red: {} + albedo-green: {} + albedo-blue: {} + height: {} + occlusion: {} + normal-x: {} + normal-y: {} + normal-z: {} + specular: {} + smooth: {} + rough: {} + metal: {} + porosity: {} + sss: {} + emissive: {} diff --git a/src/input.yml b/src/input.yml new file mode 100644 index 00000000..d93b9fba --- /dev/null +++ b/src/input.yml @@ -0,0 +1,22 @@ +format: raw +alpha: {} +diffuse-red: {} +diffuse-green: {} +diffuse-blue: {} +albedo-red: {} +albedo-green: {} +albedo-blue: {} +height: + invert: true +occlusion: + invert: true +normal-x: {} +normal-y: {} +normal-z: {} +specular: {} +smooth: {} +rough: {} +metal: {} +porosity: {} +sss: {} +emissive: {}