garrysmod-issues
garrysmod-issues copied to clipboard
Lighting issue
Ive been encountering a lighting issue recently, i fixed it temporarily by doing "mat_dxlevel 110" but it seems to have came back
i dont know why it happens or why it fixes from a dxlevel change.
Bug is on the x86-64 Branch, spawning models/props_debris/plaster_floor001a.mdl and applying models/props_debris/plasterceiling008a to the first submaterial seems to cause it. grabbing it with physgun or interacting seems to fix it for a slight second
110 ??? As far as I know, there are only parameters 90 and 95, i.e. mat_dxlevel 90 - DX9 with Shader Model 2 mat_dxlevel 95 - DX9 with Shader Model 3
110 does work, as it shows up as dx11 on the video settings menu at the bottom right,
110 does work, as it shows up as dx11 on the video settings menu at the bottom right,
Source 1 never worked on DX10/11/12. And it says that the level of the "HARDWARE" DirectX, and not at which the game itself is now working. Source Engine 1 only knows DirectX 9.0c
still this isnt very helpful, i need to know what the hell is causing it, because it seems like just changing the dxlevel in general is fixing it
gm_spawn models/props_debris/plaster_floor001a.mdl;material_override models/props_debris/plasterceiling008a
Cannot reproduce.
I meant replace the first SUBMATERIAL, i used sub mat so its the one after "none"
also it seems to be an issue with lightmaps, tried clearing addons verifying, nothing worked
Using lua_run Entity(1):GetEyeTrace().Entity:SetSubMaterial( 0, "models/props_debris/plasterceiling008a" )
still cannot reproduce.
Make sure you are running on mat_dxlevel 95
. For anything else I cannot provide support. Make sure you are not using -dxlevel
or -autoconfig
(or similar) launch parameters.
Try running with -noaddons -noworkshop
Try running with NO mountable games (after a restart)
Try messing around with your video settings, and your GPU control panel.
You can also try using debug_dump
console command (creates a file listing all non default convars) to see if there's some convar that is misconfigured.
You can also try making sure mount.cfg is empty
Also try deleting (or renaming) your materials/
, download/
and lua/
folders, verify the game and see if that solves it in case something you put there is causing issues.
I can't really think of anything else.