EGSM
EGSM copied to clipboard
SHADERS FOR EVERYONE!!!! i have no idea wtf is going on
shader:SetPixelShaderStandardConstant(PSREG_SHADER_CONTROLS, STDCONST_SHADER_CONTROLS) makes the game crash on map realod
it also didn't appear on models with custom shaders in older versions, this may be useful to know for a future fix.
the texture lod inside the shader can't go beyond 4 for cubemaps and 5 for 2d textures.  lod didnt work for map's built-in cubemaps  
Binding param with name $envmap for the first time, sometimes, leads to crash. I have not yet fully figured out in which case this happens 100%.
UV will work correctly only after one retry on map. The problem is observed with the shader for brushes.
When I tried to install EGSM, i got this error when starting the game ``` [MENU ERROR] ShaderLib: lua_initclf == NULL 1. unknown - [C]:-1 2. require - [C]:-1 3....