userLayladcancel
reposbox-hc2cancel

34 Commits over 0 Days - ∞cph!

4 Months Ago
Try set hover on the voxel terrain so it can be selected in editor
4 Months Ago
Probably should set material normal here
4 Months Ago
Test vox renderer component to render a vox resource
4 Months Ago
Voxel model creates a material copy to avoid palette batching issues
4 Months Ago
Voxel shader needs gamma to linear
5 Months Ago
No mips on ground texture - 1 texel per block probably doesn't need mips
5 Months Ago
Get rid of hardcoded gradient
5 Months Ago
Add texture size to palette
5 Months Ago
Wrap the detail texture across the world, not across the chunk https://files.facepunch.com/layla/1b1511b1/sbox-dev_LfA429ld3K.png
5 Months Ago
bring the color ramp down
5 Months Ago
Add VoxelModel.GetVoxel
5 Months Ago
import scale on this tree needs to be inches
5 Months Ago
Change the shader to come closer to the concept art until we can configure it in the palette https://files.facepunch.com/layla/1b1411b1/sbox-dev_Hx8Yc5vbs7.png
5 Months Ago
Hotload palette
5 Months Ago
Make palette dirty
5 Months Ago
Simple palette game resource for voxels
5 Months Ago
Darker test colors until we have a proper palette
5 Months Ago
Use constant voxel size here
5 Months Ago
Dev textures to test bindless https://files.facepunch.com/layla/1b1411b1/sbox-dev_gFgVgNzNqF.png
5 Months Ago
Uncomment bindless, NonUniformResourceIndex was needed when accessing bindless texture
5 Months Ago
Comment out bindless, we're not ready to expose it in the API
5 Months Ago
Voxel bindless textures test
5 Months Ago
Destroy voxel model on component destroy
5 Months Ago
Generate mesh collision for chunk mesh
5 Months Ago
Voxel models can have their own palette using a structured buffer
5 Months Ago
Use arrays for the voxel normals in shader
5 Months Ago
Make voxel test scene a bit nicer to look at
5 Months Ago
Allow voxel model to be transformed
5 Months Ago
Can change voxel size through Constants.VoxelSize
5 Months Ago
Cleanup
5 Months Ago
The mesher is Y up, just swizzle the verts
5 Months Ago
Replace voxel mesher with a faster one
5 Months Ago
Allocate more bits to allow 256 block types in shader
5 Months Ago
Voxel testing