Garry's Mod

Garry's Mod

188 ratings
Media Player Emissive Lighting
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
8.180 KB
18 Dec, 2024 @ 1:15pm
27 Jan @ 1:19pm
2 Change Notes ( view )

Subscribe to download
Media Player Emissive Lighting

Description
Emissive lighting for screens from https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=546392647.
Very performance friendly and 100% clientside.



Convars
Name
Purpose
mediaplayer_lighting
0/1 - Enables the lighting.
mediaplayer_lighting_shadows
0/1 - Enables shadow casting. Pretty expensive.



Culling based on dot product and util.PixelVisible is courtesy of xalphox 🙏

Some code also taken from https://gtm.steamproxy.vip/workshop/filedetails/?id=2546672106.



Github: https://github.com/chiraqoRP/mediaplayer-emissivelighting



tags: realism mediaplayer media player lighting emissive shadows youtube projected texture
34 Comments
bulkmoerls 17 Aug @ 11:47am 
is it compatible with the updated version of media player?
Investor Sarif 12 Aug @ 6:37pm 
would it be possible to also make this work when images or other file formats are displayed? i notice this only works with youtube as far as i've seen
Aikalescent 25 Apr @ 6:35pm 
This feels very Black Magic for some reason, The way the screen colour reflects the light in real time is very mindblowing! Are actual wizards
Cherrie_The_Shifter ΘΔ 23 Apr @ 3:40pm 
Yeah i do. Maybe it has something to do with my computer being 5 years old and i3 and among other things idk 🤷‍♀️
afxnatic  [author] 23 Apr @ 12:06pm 
id say use x64 branch if you dont already but you probably do
Cherrie_The_Shifter ΘΔ 22 Apr @ 10:32pm 
weird so far sadly dont seem to work, for me one new better one, oof
afxnatic  [author] 6 Apr @ 9:58pm 
works on my machine:tm:
Cherrie_The_Shifter ΘΔ 5 Apr @ 6:28am 
Not for me and alot of people plus the new one is gonna get more updates more features more everything ans I just hope this mod works with it, Anyways Yeah
afxnatic  [author] 4 Apr @ 7:55pm 
original works fine anyways
afxnatic  [author] 4 Apr @ 7:55pm 
should literally just work