https://github.com/slowlydev/bevy-pixelation
My attempt to pixelate 3d objects with shaders and bevy in rust
https://github.com/slowlydev/bevy-pixelation
bevy glsl-shader playground rust
Last synced: 12 months ago
JSON representation
My attempt to pixelate 3d objects with shaders and bevy in rust
- Host: GitHub
- URL: https://github.com/slowlydev/bevy-pixelation
- Owner: slowlydev
- Archived: true
- Created: 2022-11-17T20:36:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-25T14:33:33.000Z (over 3 years ago)
- Last Synced: 2025-02-15T10:51:56.241Z (about 1 year ago)
- Topics: bevy, glsl-shader, playground, rust
- Language: Rust
- Homepage:
- Size: 23.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bevy-pixelation
My attempt to pixelate 3d objects with shaders and bevy in rust.
NOTE: this is only a tester there is no cool functionality yet.
## setup
### install rust/cargo/rustup
visit [this](https://www.rust-lang.org/tools/install) website to install rust and its tools
### clone repo
Clone the repo to get the code
```
git clone https://github.com/Slowlydev/bevy-pixelation.git
cd bevy-pixelation
```
### install deps and build
To install all dependencies and build a release version run:
```
cargo build --release
```
For development and auto-recompiling run:
```
cargo run
```
For only fetching deps run:
```
cargo fetch
```
For only building/compiling run:
```
cargo build
```
### start app
If u ran `cargo build --release` u can execute the file in `target/release/` after u copied the `assets` folder into the `target/release/` folder.
All the `platformer` executable needs is the assets folder in the same directory, so u could move it anywhere u want.
Or u can run `cargo run` to automatically compile and start automatically