branchsbox-corewars/maincancel

853 Commits over 516 Days - 0.07cph!

2 Years Ago
Move LightMap to ChunkLightMap and do one texture per chunk (comment out sunlight propagation code as it's broken) Merge branch 'main' of sbox-corewars Merge in index component code
2 Years Ago
fuck it
2 Years Ago
Swap texture format which likes to be decoded better Swap texture format which likes to be decoded better compile
2 Years Ago
Addition blocks
2 Years Ago
Added basic duck controller (swapped sprint bind)
2 Years Ago
Add sunlight & torch light brightness
2 Years Ago
Initial shader lighting work
2 Years Ago
Temp destroyed particle Addition blocks
2 Years Ago
Rename method to make more sense
2 Years Ago
Flatten 3d array for easy index lookup
2 Years Ago
Vastly improved block system to dynamically assign block ids and read texture ids by name from the atlas. When saving maps in the future, I'll indicate which block ids in the data represent which names from the atlas.
2 Years Ago
Correct name
2 Years Ago
Added new block
2 Years Ago
Added new textures Added new block types Let player spawn new blocks
2 Years Ago
Refactor and minor optimizations
2 Years Ago
Potentially working PoC for using volumentric texture to store light data for voxels (need ogniK to rescue me on the shader side)
2 Years Ago
Revert affected blocks (just add them all fuck it...)
2 Years Ago
Some additional tweaks / hacky(?) method to get light level from block opposite face
2 Years Ago
Making a backup of light progress Initial torchlight code (no sun propagation yet) but still needs some additional work for face brightness to be affected by opposite block
2 Years Ago
Trying some performance improvements
2 Years Ago
Fixed an error with stripped out light propagation code (need to rework it)
2 Years Ago
Split up chunk slice loading into a task to avoid Source hang dialog when loading the map. Added a simple placeholder loading screen to show how many chunks are loaded.
2 Years Ago
Network GreedyMeshing boolean when receiving map data
2 Years Ago
Give every block a random brightness (1-15) and hand over to ogniK for shader magic
2 Years Ago
Add Map.GreedyMeshing config and disable greedy meshing if it is false
2 Years Ago
Add spritesheet json (potentially use this to determine texture id)
2 Years Ago
Added test GlassBlock type. Added IsTranslucent property to BlockType. Some refactoring.
2 Years Ago
Fixed bakscratch-ism (those vars aren't net predicted)
2 Years Ago
Removed weird skipping from jumping and made movement feel better.
2 Years Ago
Replace Chunks being entities and remove ChunkData class and consolidate the two. Received chunk data from server replaces local (pre-init) chunks. Rewrite of how maps are handled instead of using [Net] give finer control + destroy any previous map Merge branch 'main' of sbox-corewars
2 Years Ago
Basic brightness
2 Years Ago
Temporary fix for what seems to be duplication when an RPC is received before an entity is transmitted somehow (unconfirmed)
2 Years Ago
Tweaked voxel material settings / roughness + metalness
2 Years Ago
Removed old map
2 Years Ago
Fix error with invalid block id
2 Years Ago
Removed .block asset and just use classes because it's easier and allows custom logic for blocks Merge branch 'main' of sbox-corewars
2 Years Ago
Improved shadow fade distance
2 Years Ago
Testmap
2 Years Ago
Keep it nice and sharp
2 Years Ago
Configure roughness on voxel.vmat so everything isn't shiny
2 Years Ago
Removed post processing from the bootstrap map for now
2 Years Ago
Pushed some placeholder textures for blocks 0-3 and updated voxel.vmat to use spritesheet.png atlas. Added spritesheet.tps file for ease.
2 Years Ago
Re-compile shader and add env_cubemap and light probe to boostrap map
2 Years Ago
Texture support
2 Years Ago
Added basic BlockAsset class with just FriendlyName and TextureId for now
2 Years Ago
Added stub ChunkViewer component (will eventually handle loading of chunks) Create ChunkViewer component and LoadChunk method in Player (for now, until we have component RPCs) Send all map chunks to players on join (~32kb per chunk). Our maps will be small enough that we don't care.
2 Years Ago
Fix material error
2 Years Ago
Updated voxel code to latest from layla
2 Years Ago
Fixed jumping forever Fixed set block in direction being called client-side Added Chunk.VoxelSize (def: 48)
2 Years Ago
Basic movement controller, clothing and ragdoll Fall and land sounds Add in Layla's voxel stuff from Sandblox as a base Automatically respawn joining players during lobby state and add test methods from Sandblox for block setting Fixed error with Chunk.cs - trying to add Mesh with empty VB