2 Years Ago
Initial work on new glass shader Grime implementation & let grime cast shadows Blur Allow fogging of grime & glass Allow fogging of grime & glass Fix grime on refraction variant https://files.facepunch.com/ognik/1b0111b1/sbox-dev_VGCbGQv4Tr.jpg Allow tweaking of the specular of the glass for its reflections Allow tweaking of the specular of the glass for its reflections Delete core glass shader & sbox_glass, new shader becomes glass Fix glass not working properly with tiled rendering off Cleanup & lower default opacity so we don't shadow by default Update some existing glass materials https://files.facepunch.com/ognik/1b0211b1/sbox-dev_QPGRwiTZTq.jpg Missed this shader removal whoops Refraction glass color tint now works with opacity Drop max refraction distance, doesn't need to be an artist tuned. Fix glass tint not working in non refraction mode Allow switch to multiply for color tinting in refraction mode because it can look better in some situations Blur masks Remove grime as a feature and have it on by default, reorganize attribute layout Remove glass from shader compiler