Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VOXEDIT: Add flat/normal-based/C&C voxel shading mode #520

Open
Metadorius opened this issue Sep 15, 2024 · 0 comments
Open

VOXEDIT: Add flat/normal-based/C&C voxel shading mode #520

Metadorius opened this issue Sep 15, 2024 · 0 comments
Labels
feature request format Voxel or mesh format related

Comments

@Metadorius
Copy link

Metadorius commented Sep 15, 2024

Basically in this mode each cube is rendered flat without any kind of shading if there's no normal information, and the color is picked as if it was a plane with a normal corresponding to the normal vector that this specific cube has.

image

This is how the game is drawing the voxels more or less, basically the game has material parameters for a basic shading model baked in as VPL - basically it defines 256 colors * 32 light levels - which it uses to shade the voxel (screenshot from https://github.com/ThomasSneddon/vxl-renderer, in order to use you have to drop a vxl file onto the .exe though)

image

@mgerhardy mgerhardy added feature request format Voxel or mesh format related labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request format Voxel or mesh format related
Projects
None yet
Development

No branches or pull requests

2 participants