1 Year Ago
Don't skip program when checking if shader is up to date if we failed to load the compiled version (it might not exist) memset shader header so we dont run into these issues that are caused by uninitialized memory Remove subview stuff from vr.cpp, not neded in our case Remove FSR, wasn't doing much and was causing issues with VR stencil, fix vr stencil debug Granular foveated rendering, still needs cleanup Remove old deprecated depth of field, cleanup checkerboard reconstruction Add convars for vr_foveated_rendering Get center lens position from HMD, pass foveation parameters to GPU Cleanup and update shader files Readd FSR for now, wouldn't be able to properly remove it until we have a good replacement, but don't bother with it if we're in VR Remove unused convars Tweak autofidelity, remove autofidelity for multigpu, add autofidelity for mobile while at it, fix typo Tie vr_foveated_rendering to autofidelity, optimize shaders a bit Fix rebase changes for shader assets Merge pull request #652 from Facepunch/vr-foveated-rendering VR Foveated Rendering Minor summary adjustment to PhysicsBody.SurfaceMaterial RangedFloat can be read from a number in JSON too Delete BrushEntity.Solid (was obsolete) SurroundingBoundsType.Obb => SurroundingBoundsType.OBB Use RangedFloat in SoundEvent resource This change will make existing assets lose their PitchRandom/VolumeRandom until updated Move GlobalRpcHandler to Sandbox.Internal Make Sound.Index internal Hide Prediction.CommandsAcknowledged/LastExecutedPacketNum Move QTextBlock to Tools namespace Rename ModelDoc namespace to Sandbox.ModelEditor Also moved all ModelDoc node classes to Sandbox.ModelEditor.Nodes Renamed ModelDocAttributes.cs to ModelEditorAttributes.cs Delete Sandbox.ConstantBuffer (obsolete & unused) Delete TriggerHurt and TriggerTeleport (obsolete aliases) Delete TriggerMultiple.Wait (obsolete alias) Delete ModelBreakPiece.CollisionGroupOverride (obsolete) Delete CameraMode.DoFPoint/DoFBlurSize (obsolete) Remove unused properties of Sandbox.Water EnableShadows/EnableFog/EnableRefraction Delete more obsoletes Deleted PhysicsWorld.IsPointWater Deleted Sandbox.Component.Glow.Active/RangeMin/RangeMax Deleted FogStength from all light entities Deleted OrthoLightEntity.UseFogNoShadows Deleted Global.IsDedicatedServer/PhysicsSubSteps/PhysicsTimeScale Deleted ScenePanel.CameraPosition/CameraRotation/FieldOfView/AmbientColor/ClearColor/ZNear/ZFar/DisablePostProcessing/SceneAttributes Merge remote-tracking branch 'origin/pain-day-rubat1' into engine-refactor-1 Rename SurroundingBoundsType.OBB to SurroundingBoundsType.Object, comment out unused Remove now unused constant buffer binds Defaults for main camera Minimal template fixes