Is there an ini tweak or tool that would only allow shadows to ONLY work in the cockpit and not render out in space?
This can be done, but it's rather involved if you don't have experience editing the GraphicsConfiguration.xml. Essentially, you need to pick a shadow quality table to copy and then set each shadow profile within that quality setting to only use the cockpit cascade.
I've whipped up a GraphicsConfigurationOverride.xml that should do the trick, but my ability to test these settings is limited at the moment, so you'll need to tell me if it achieves the desired effect or if I need to modify the main GraphicsConfiguration.xml directly.
I've pasted the contents below for review and also attached the file itself to be used directly. You'll need to copy the file to "%LocalAppData%\Frontier Developments\Elite Dangerous\Options\Graphics", remove the .txt extension from it, restart the game, then select "Low" shadow quality. If you can verify that only cockpit shadows are present, it's working.
XML:
<?xml version="1.0" encoding="UTF-8" ?>
<GraphicsConfig>
<Shadows_Low>
<Profile_General>
<SliceSize>1024</SliceSize>
<NumFrustums>0</NumFrustums>
<FrustumCockpit>
<DepthBias>0.00008</DepthBias>
<DepthSlopeBias>5.0</DepthSlopeBias>
<FilterKernelSize>3.0</FilterKernelSize>
</FrustumCockpit>
<Frustum0>
<EndDistance>0</EndDistance>
</Frustum0>
<Frustum1>
<EndDistance>0</EndDistance>
</Frustum1>
</Profile_General>
<Profile_PlanetApproach>
<SliceSize>1024</SliceSize>
<NumFrustums>0</NumFrustums>
<CrossFadeCascades>false</CrossFadeCascades>
<FrustumCockpit>
<DepthBias>0.00008</DepthBias>
<DepthSlopeBias>5.0</DepthSlopeBias>
<FilterKernelSize>3.0</FilterKernelSize>
</FrustumCockpit>
<Frustum0>
<EndDistance>0</EndDistance>
</Frustum0>
<Frustum1>
<EndDistance>0</EndDistance>
</Frustum1>
</Profile_PlanetApproach>
<Profile_PlanetSurface>
<SliceSize>1024</SliceSize>
<NumFrustums>0</NumFrustums>
<FrustumZeroCanBeOverridden>1</FrustumZeroCanBeOverridden>
<FrustumCockpit>
<DepthBias>0.00003</DepthBias>
<DepthSlopeBias>5.0</DepthSlopeBias>
<FilterKernelSize>3.0</FilterKernelSize>
</FrustumCockpit>
<Frustum0>
<EndDistance>0</EndDistance>
</Frustum0>
<Frustum1>
<EndDistance>0</EndDistance>
</Frustum1>
</Profile_PlanetSurface>
<Profile_StationInterior>
<SliceSize>1024</SliceSize>
<NumFrustums>0</NumFrustums>
<FrustumCockpit>
<DepthBias>0.00008</DepthBias>
<DepthSlopeBias>5.0</DepthSlopeBias>
<FilterKernelSize>3.0</FilterKernelSize>
</FrustumCockpit>
<Frustum0>
<EndDistance>0</EndDistance>
</Frustum0>
</Profile_StationInterior>
<Profile_AsteroidField>
<SliceSize>1024</SliceSize>
<NumFrustums>0</NumFrustums>
<FrustumCockpit>
<DepthBias>0.00008</DepthBias>
<DepthSlopeBias>5.0</DepthSlopeBias>
<FilterKernelSize>3.0</FilterKernelSize>
</FrustumCockpit>
<Frustum0>
<EndDistance>0</EndDistance>
</Frustum0>
<Frustum1>
<EndDistance>0</EndDistance>
</Frustum1>
</Profile_AsteroidField>
</Shadows_Low>
</GraphicsConfig>