Team Spartan Cookies & Milk Forums
  • Issue Tracker
  • Donations
  • Search
  • Member List
  • Help

Register

Team Spartan Cookies & Milk Forums Garry's Mod Starfall v
« Previous 1 … 4 5 6 7 8 … 18 Next »
Using emitters to make door detail, lighting problem
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode
Using emitters to make door detail, lighting problem
03-07-2019, 10:15 PM, (This post was last modified: 03-07-2019, 10:43 PM by SharpOB.)
#1
SharpOB Offline
TSCM Member
***
Posts: 37
Threads: 8
Joined: Apr 2017
Using emitters to make door detail, lighting problem
I'm using a starfall emitter to add detail to my Star Trek style doors, which is less expensive than props. This is not affected by lighting, however, which causes this to happen:

[Image: K6aYPez.png]
[Image: V11oWB9.png]
[Image: 7O24FHu.png]

As a result of the map's light_environment pitch, the two interior sides are well lit and there is no problem, but the two exterior sides are poorly lit and as a result the emitter looks jarringly bright. I'm looking for any options on fixing/managing this, though currently I have several:
  • do nothing
  • use holos instead
  • additive rendering mode possible?

If there is some form of additive rendering mode this would be immensely useful as I intend to use emitters throughout my Star Trek-style bridge:

[Image: 1fxr549.png]
[Image: iGqhshZ.png]

Thanks.

Also, I've noticed that emitters stop emitting after long amount of time has passed, requiring me to restart the chip.
Update on the door:
[Image: r4O0eje.png]
Find
Reply
04-07-2019, 01:52 AM, (This post was last modified: 04-07-2019, 01:53 AM by mariofludd. Edited 1 time in total.)
#2
mariofludd Online
Novaaaaaaaaaaaaa
****
Posts: 528
Threads: 44
Joined: Dec 2013
RE: Using emitters to make door detail, lighting problem
By the way, Garry's Mod comes with a Camera "weapon" under Other in the Weapons spawnmenu, a much better tool for taking screenshots so that your HUD does not exist

[Image: efN9HsZ.png]
Find
Reply
04-07-2019, 11:53 AM, (This post was last modified: 04-07-2019, 12:44 PM by SharpOB.)
#3
SharpOB Offline
TSCM Member
***
Posts: 37
Threads: 8
Joined: Apr 2017
RE: Using emitters to make door detail, lighting problem
As the lighting is consistent based on angles, perhaps I could use the angle of the emitter to determine how much in shadow the emitter should be and then modify the colours based on that. I think that's the best solution for this.

[Image: XbKmKmB.png]
It would probably help to know the configuration of the light_environment to help with this, I might decompile the map or something to find out what the options are for shadow colour and light colour as well as the angles and pitch.
Find
Reply
04-07-2019, 03:26 PM, (This post was last modified: 04-07-2019, 04:20 PM by SharpOB.)
#4
SharpOB Offline
TSCM Member
***
Posts: 37
Threads: 8
Joined: Apr 2017
RE: Using emitters to make door detail, lighting problem
[Image: toCE5ll.png]
[Image: W63mGRL.png]
This equation should give the multiplier for the brightness of the RGB values: (0.1887959263 * math.sin((0.0174532925 * ang) + 0.5760229431))+0.3835511983
[Image: 7V65Kdb.png]
[Image: EbV3PVk.png]
It's not exactly working yet, though.

God damn, it actually works:
[Image: yr6dfLH.png]
[Image: Tqwx7fJ.png]
Find
Reply
04-07-2019, 08:16 PM,
#5
SharpOB Offline
TSCM Member
***
Posts: 37
Threads: 8
Joined: Apr 2017
RE: Using emitters to make door detail, lighting problem
And done:
[Image: taKxnlY.jpg]
That came out way better than expected.
Find
Reply
04-07-2019, 11:44 PM,
#6
TheOneAndOnlyTee Offline
GMod Admin
Posts: 755
Threads: 47
Joined: Oct 2013
RE: Using emitters to make door detail, lighting problem
impressive work, glad it turned out well

Steam Profile
My Discord Server
Need help with E2 or SF? , just ask me and i'll try to help.
[Image: 98Dkcoz.gif]
Find
Reply
07-07-2019, 01:36 PM,
#7
Blackcrow Offline
Valued crow and member
****
Posts: 438
Threads: 75
Joined: Jul 2017
RE: Using emitters to make door detail, lighting problem
Very impressive, continue, that's awesome Sharp Smile.

Resistance, is futile.
Website Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
Forum Jump:


Users browsing this thread: 1 Guest(s)
Contact UsTeam Spartan Cookies & MilkReturn to TopLite (Archive) ModeMark all forums readRSS Syndication

Powered By MyBB, © 2002-2026 MyBB Group.