1 Year Ago
Glass shader Grime implementation & let grime cast shadows Grime implementation & let grime cast shadows Blur Blur Allow fogging of grime & glass 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 Fix grime masks not behaving as expected Recompile with stripped shaders Add attributes to disable blur & refraction we can expose this as a convar is needed then Reorganization & name cleanup - Reorganize all sections within the shader - Refraction can have its own normal map now - Fresnel can be toggled - Fixed an ambiguity with tint color Fix specular not being taken into account on glass transparency Lets get rid of these for now, fixes translucency sorting Update some glass materials again Initial work on new glass shader Initial work on new glass shader Grime implementation & let grime cast shadows Grime implementation & let grime cast shadows Initial work on new glass shader Grime implementation & let grime cast shadows Grime implementation & let grime cast shadows Blur Blur Allow fetching diffuse & specular separately for valve shading model Use valve standard for the time being Fix reflections oops Remove grime prefix Make sure we're always within our framebuffer copy rect fix sort mismatching Update glass materials Allow refraction & blur to be visualized in the material editor Optimized compile Fix framebuffer copies in material editor Closes sbox-issues/issues/1204