branchsbox-corewars/maincancel

853 Commits over 516 Days - 0.07cph!

3 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
3 Years Ago
fuck it
3 Years Ago
Swap texture format which likes to be decoded better Swap texture format which likes to be decoded better compile
3 Years Ago
Addition blocks
3 Years Ago
Added basic duck controller (swapped sprint bind)
3 Years Ago
Add sunlight & torch light brightness
3 Years Ago
Initial shader lighting work
3 Years Ago
Temp destroyed particle Addition blocks
3 Years Ago
Rename method to make more sense
3 Years Ago
Flatten 3d array for easy index lookup
3 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.
3 Years Ago
Correct name
3 Years Ago
Added new block
3 Years Ago
Added new textures Added new block types Let player spawn new blocks
3 Years Ago
Refactor and minor optimizations
3 Years Ago
Potentially working PoC for using volumentric texture to store light data for voxels (need ogniK to rescue me on the shader side)
3 Years Ago
Revert affected blocks (just add them all fuck it...)
3 Years Ago
Some additional tweaks / hacky(?) method to get light level from block opposite face
3 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
3 Years Ago
Trying some performance improvements
3 Years Ago
Fixed an error with stripped out light propagation code (need to rework it)
3 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.
3 Years Ago
Network GreedyMeshing boolean when receiving map data
3 Years Ago
Give every block a random brightness (1-15) and hand over to ogniK for shader magic
3 Years Ago
Add Map.GreedyMeshing config and disable greedy meshing if it is false
3 Years Ago
Add spritesheet json (potentially use this to determine texture id)
3 Years Ago
Added test GlassBlock type. Added IsTranslucent property to BlockType. Some refactoring.
3 Years Ago
Fixed bakscratch-ism (those vars aren't net predicted)
3 Years Ago
Removed weird skipping from jumping and made movement feel better.
3 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
3 Years Ago
Basic brightness
3 Years Ago
Temporary fix for what seems to be duplication when an RPC is received before an entity is transmitted somehow (unconfirmed)
3 Years Ago
Tweaked voxel material settings / roughness + metalness
3 Years Ago
Removed old map
3 Years Ago
Fix error with invalid block id
3 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
3 Years Ago
Improved shadow fade distance
3 Years Ago
Testmap
3 Years Ago
Keep it nice and sharp
3 Years Ago
Configure roughness on voxel.vmat so everything isn't shiny
3 Years Ago
Removed post processing from the bootstrap map for now
3 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.
3 Years Ago
Re-compile shader and add env_cubemap and light probe to boostrap map
3 Years Ago
Texture support
3 Years Ago
Added basic BlockAsset class with just FriendlyName and TextureId for now
3 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.
3 Years Ago
Fix material error
3 Years Ago
Updated voxel code to latest from layla
3 Years Ago
Fixed jumping forever Fixed set block in direction being called client-side Added Chunk.VoxelSize (def: 48)
3 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