1 Year Ago
Render state overrider sfm: embedded c# asset browser sfm: fix drag drop assets from asset browser sfm: resolve drag dropped cloud assets https://files.facepunch.com/matt/1b1611b1/sbox-dev_rr6iJVzPcd.png ModelEntity.(Local)Position/Rotation affects all physics bodies, not just the first one sboxgame/issues/issues/2916 Fix tangent generation not working correctly for ShadingModelValveStandard, fixes directional lightmaps looking messy on custom shaders https://i.imgur.com/JlZGHHH.png Start and stop snd_event_alignedbox sounds based on range, we only want to play sounds that can be heard Darken directional AO results a tiny bit to have better contact https://i.imgur.com/rLmUM0I.png Fix most debug views Use TagEdit on entity inspector https://files.facepunch.com/devultj/1b1711b1/sbox_4i2cOMCa2n.png Tools: Support `Editor( "tags" )` which internally uses TagEdit - and give TagEdit a default convertor if one is not set Merge pull request #804 from Facepunch/render-state-override Automatically override render states for shaders You no longer need to define `DEPTH_STATE_ALREADY_SET`, `CULL_MODE_ALREADY_SET`, `STENCIL_ALREADY_SET`, `BLEND_MODE_ALREADY_SET`, `COLOR_WRITE_ALREADY_SET` Add the ability to fetch the world mapping dimensions in shaders `int2 g_vWorldMappingDims< Source( MappingDimensions ); >;` Fix CUBEMAP_REFLECTIONS debug view on both material api and valve code, needs a full shader compile Remove ShaderIDColors list, shader id colors list is generated procedually, add baked lightmapping debug modes to material API Recompile blendable with latest changes Don't use [CanEdit(SomeType, typeName)] for all SomeType properties Unless typeName is just "sometype" https://files.facepunch.com/ziks/1b1711b1/5BoYCf6102.png Assert CSceneObject::ClearMeshInstanceData if owner CSceneObject::DestroyMeshInstanceData() for owned data Avoid dynamic alloc for scene object tags in most cases vmat build (.vfx -> .shader mainly) citizen compile: I think Max may have pushed whilst this was referencing some WIP stuff? Cleanup Shader ID preview, add more preview modes to tools UI Add support for text-overflow css property (#803) text-overflow is now supported with `clip` or `ellipsis` Don't shrink the player count on server & lobby widget entries Use text-overflow in has-latest ChatEntry, fixes user messages spanning the whole screen :flushed: https://files.facepunch.com/devultj/1b1711b1/sbox_RQipXQ40dm.png Merge branch 'master' into shadergraph