Garry's Mod

Garry's Mod

Soft Lamps
698 Comments
bulkmoerls 22 Sep @ 3:42pm 
oh, i thought i disabled it
PenolAkushari  [author] 5 Sep @ 9:20pm 
@bulkmoerls your render process looks like poster_aa is enabled, and console output for render result seems to say it's set to true. godrays render doesn't seem to like aa as it uses different source for getting picture, which seems to break it. put "poster_aa 0"
Weird, will keep looking into this. Appreciate it!
PenolAkushari  [author] 5 Sep @ 3:46pm 
renders get to garrysmod/screenshot folder iirc, inside game files that steam will take you to through game properties window

i'll check the video after several hours once i get the ability to do so
bulkmoerls 5 Sep @ 3:37pm 
oh and for the guy below me that is supposed to respond to @penolAkushari
bulkmoerls 5 Sep @ 3:35pm 
https://youtu.be/8hblNsoNi_Q
that will show proof
Hey! I imagine you get this one frequently, but where do the renders for poster_soft save to? I was unable to find mine in the GMod screenshots folder.
PenolAkushari  [author] 3 Sep @ 8:36am 
you can upload it as unlisted on youtube if you can. i guess issue may be within the soft lamp settings, given that you don't have aa or additive turned on
jack 3 Sep @ 8:35am 
Oops, forgot to mention the passes, but I also varied the pass numbers from 1-5 to see if it made any difference it still just rendered black.
jack 3 Sep @ 8:33am 
Yeah, fully black. The settings I used was pretty much setting the accuracy between 500-1000 (like you said, maybe I just had to mess around with the settings). I varied the quality from 1-3 to see if it made any difference and it didn't. Even tried changing Soft lamp settings, though to be fair I didn't change the default settings too much. And sure, I'll record it when I'm back on GMod again. Just let me know how I could send it over.
PenolAkushari  [author] 3 Sep @ 8:01am 
and it's fully black when doing a render? what's the settings for godrays render? also, would you be able to record how it happens somehow? as i think i'll need to see what's going on to be able to tell what's up
jack 3 Sep @ 7:43am 
Yeah, I seem to be having the same issues regarding godrays as @bulkmoerls

No clue what's up, I've tried all values I can and it renders nothing but black.
PenolAkushari  [author] 2 Sep @ 11:14am 
issue with manager popping up randomly when it wasn't bound to any key should be fixed now, though i am not 100% sure whether it won't pop up for others, as it seemed rather random. so far i think it may be some weird order of operations in lua, where logical "and" weren't being performed last, leading to weirdness.

unsure what's the issues with godrays are exactly, for that part i think you may need to mess around with lamp settings and set "accuracy" to be around 500-1000 so there would be enough planes for it to work with

and i still have no idea what's up with that gameplay surface shape not working, is it still the case without other addons enabled? as all i can do rn is suspect that something else could be overriding soft lamps or smth
PenolAkushari  [author] 1 Sep @ 12:25pm 
hm, weird. and i guess the lamp illuminates the scene normally? does it still behave the same if you'd disable other addons?
bulkmoerls 1 Sep @ 12:12pm 
even without aa and additive.
bulkmoerls 1 Sep @ 12:11pm 
nope. also for more detail, it only renders nothing but black.
PenolAkushari  [author] 1 Sep @ 10:22am 
i tried it on my end, poster_aa with godrays works weird, and addittive just turns everything white, because it just adds white colors to white colors, so both would have to be turned off if you're doing godrays
PenolAkushari  [author] 1 Sep @ 9:20am 
does it not work with aa and additive enabled? will it work without those?
bulkmoerls 1 Sep @ 9:07am 
also i tried using poster_godrays 1000 2 but somehow it didn't create godrays
bulkmoerls 1 Sep @ 8:50am 
also what a quick response
bulkmoerls 1 Sep @ 8:47am 
ohhh so thats why
thanks
PenolAkushari  [author] 1 Sep @ 8:45am 
do you put 1 after writing the command? iirc it has to be set like a convar with 1 or 0
bulkmoerls 1 Sep @ 8:39am 
when i type poster_aa it just wont enable it
same goes for poster_additive
PenolAkushari  [author] 31 Aug @ 6:25pm 
have you checked whether it'll work without other addons enabled? you can disable/enable them without having to unsub through the addons menu, which is in main menu, just in case
dim sum un  [author] 31 Aug @ 3:11pm 
For most purposes it doesn’t need to be changed. This offset is calculated based on the model you select in the soft lamps C Menu
Avid Felony Committer 31 Aug @ 2:57pm 
@Peno the light offset for me is 6.04, do I need to change that?
PenolAkushari  [author] 31 Aug @ 8:16am 
and setting surface shape keeps only 1 light on? will it work if you disable other addons? iirc there was some robots ragdolls addon that had other soft lamps packed in them that may conflict with these
Hauptmann 31 Aug @ 8:09am 
changing the surface shape to line (haven't tested the others) simply doesn't change on my end, and no I don't have the shadows disabled. It seems to work fine for other people I asked so I really don't know why it's broken for me
PenolAkushari  [author] 31 Aug @ 7:45am 
you didn't happen to disable shadows on gameplay lights? that way they don't show up with r_flashlighrdrawfrustrum on, though shadow disabling can only be done through editing properties, not through the tool for spawning lamps
PenolAkushari  [author] 31 Aug @ 7:42am 
curious. it works on my end. anything in specific that doesn't work there, or it just doesn't do anything when changed?
Hauptmann 31 Aug @ 7:14am 
Is it normal that gameplay surface shape doesn't work anymore? Combined with focal point distance it was an essential feature to make ambient sky light renders. Here's how it worked before (starts at 9:29): https://www . youtube.com/watch?v=83XoVlW-EmA&t=1s
PenolAkushari  [author] 31 Aug @ 2:59am 
strange, i can't reproduce it so far. does it happen consistently? if so, there's no addon conflicts? could be worth to check if it will happen without other addons enabled to be sure
PenolAkushari  [author] 31 Aug @ 2:51am 
does it open up right at the map load?
Christopher Moltisanti 31 Aug @ 2:50am 
I am also receiving the manager opening on it's own, no keys pressed and had to disconnect to remove it.
PenolAkushari  [author] 31 Aug @ 1:58am 
strange, this is the second report of the manager just opening without a key set. it should be possible to open/close it through console with softlamp_manager command, or you can find a way to set a key to toggle it with in utilities tab, how did it open on your end in the first place? if you enter softlamp_manager_key, will it return any number other than 0?
Kuge 31 Aug @ 1:00am 
what the hell is Press UNBOUND to close? i can't set
PenolAkushari  [author] 30 Aug @ 8:06pm 
what's the light offset? first number is about 6 or so?
Avid Felony Committer 30 Aug @ 7:17pm 
yes, both heavy/gameplay lamp are on, both still come out as black.
PenolAkushari  [author] 29 Aug @ 8:57pm 
is the lamp enabled? it still has to light up the scene as it relies on the lamp lighting up a plane
Avid Felony Committer 29 Aug @ 8:29pm 
So godrays are still broken, every render comes out black, regardless of what I do.
PenolAkushari  [author] 29 Aug @ 7:29am 
@marislunch should be fixed now
0waterXcolour0 28 Aug @ 8:37pm 
Hey, god rays work again, thanks for updating Soft Lamps, I love this thing. I can't wait to see what I can do with these new tools.
PenolAkushari  [author] 28 Aug @ 8:10pm 
seems like it doesn't like that there's no button bound for the manager, check utilities tab, there should be "soft lamp manager" tab, inside of which you can bind a key to open it with. gonna get on fixing the error once i get time for it
marislunch 28 Aug @ 6:31pm 
Experiencing an issue:
lua/autorun/client/softlamp_manager.lua:766: bad argument #1 to 'GetPhrase' (string expected, got no value)
1. GetPhrase - [C]:-1
2. CreateMenu - lua/autorun/client/softlamp_manager.lua:766
3. ToggleMenu - lua/autorun/client/softlamp_manager.lua:813
4. v - lua/autorun/client/softlamp_manager.lua:873
5. unknown - lua/includes/modules/hook.lua:102
Divined  [author] 28 Aug @ 3:51pm 
Enjoy the update guys, hopefully the softlamp manager I put in helps some people out as well as the presets :) - mind you they're also shareable from softlamp_presets.txt in data/ if you'd like to either back them up or share them.
Skeletondude 28 Aug @ 1:51pm 
MASSIVE UPDATE DAMN:steamhappy:
PenolAkushari  [author] 28 Aug @ 12:45pm 
does it happen in some specific circumstances, always or not? perhaps you also could do a check whether there's some addon conflict by disabling other addons except for soft lamps, and see whether this issue will still happen, just to make sure there's nothing interfering
Markus 27 Aug @ 1:29am 
Lightsprayer often refuses to work, throwing the following error in console

[Soft Lamps] lua/includes/modules/vtrace.lua:209: bad argument #1 to '__add' (Vector expected, got nil)
PenolAkushari  [author] 11 Aug @ 10:36am 
iirc if your shadow settings are set to low, then it won't draw shadows, and frustrum only appears for shadowed lights, so try to see whether you've set shadows to max in graphics settings
AEONsGG 10 Jun @ 7:14am 
r_flashlightdrawfrustum not appearing for me any help?