|
| 07 Dec 2011 08:55 AM |
Basically, client-side lighting. So lighting would be in the client, enabling it to manipulate ambients without distracting other people's lighting.
I want to make this kind of thing that, when a player gets closer to a light source, the lighting becomes brighter, but then, other players' lighting would be brighter too, since the lighting is not client-side, but server-side.
How would we make it that the Lighting can only be client-side?
~ Cows moo, ducks quack, I post. ~ |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 08:59 AM |
| Would changing the tint of a semi-transparent GUI work? |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 09:00 AM |
That wouldn't be realistic... I tried that, and it worked perfectly, but it was too simple...
I wanted one that actually manipulates the color of the bricks, not just a black semi-transparent screen...
~ Cows moo, ducks quack, I post. ~ |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 09:11 AM |
| Then the GUI + local bricks? |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 09:21 AM |
I was thinking that, making the ambient darker if the player moves away, and making it lighter if the player moves closer. Checking for bricks and re-coloring them would be way to ineffective... and laggy too.
~ Cows moo, ducks quack, I post. ~ |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 09:24 AM |
| There's no easy way to do local lighting. |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 09:34 AM |
| Also local bricks wont work because i think when changing the color of a brick using color3 it just picks the closest brickcolor... |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 09:41 AM |
@radio;
1] Put a white brick down 2] Make a black brick and CFrame it to the white brick's CFrame. Make it slightly larger and adjust transparency to get the tint you want. 3] Make a colored brick and CFrame it to the white brick's CFrame. Make it slightly larger than the black brick and adjust transparency to get the color you want. 4] ???? 5] Profit. |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 10:51 AM |
Will this work?
function GetLighting() Lighting = game.Lighting Lighting.Parent = Instance.new("Message") Lighting.Parent = game return Lighting end
local Lit = GetLighting()
-- Do Stuff with "Lit"
(I got it from mattchewy, but I'm not sure with if it's gonna work or not...) |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 11:38 AM |
| What is that supposed to do? |
|
|
| Report Abuse |
|
|
coplox
|
  |
| Joined: 07 Jun 2008 |
| Total Posts: 3252 |
|
|
| 07 Dec 2011 01:39 PM |
| I wonder what would happen if you post it on Forum 21. |
|
|
| Report Abuse |
|
|
Legend26
|
  |
| Joined: 08 Sep 2008 |
| Total Posts: 10586 |
|
|
| 07 Dec 2011 03:57 PM |
| It used to be possible, but they locked lighting's parent. |
|
|
| Report Abuse |
|
|
mew903
|
  |
| Joined: 03 Aug 2008 |
| Total Posts: 22071 |
|
|
| 07 Dec 2011 05:09 PM |
@function GetLighting()
I saw that while uberhaxering Anaminus' Virde Cova |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 07 Dec 2011 05:11 PM |
Client side lighting has been removed. :( Me sad. Me wanted client side skyboxes. Anyway, it will come some day.
It's a love-hate relationship.... |
|
|
| Report Abuse |
|
|
Spectrumw
|
  |
| Joined: 04 Aug 2009 |
| Total Posts: 13510 |
|
|
| 07 Dec 2011 07:08 PM |
'Also local bricks wont work because i think when changing the color of a brick using color3 it just picks the closest brickcolor...'
1.- Add a part. 2.- Add a BlockMesh to it. 3.- Change the VertexColor of the BlockMesh. 4.- Profit? |
|
|
| Report Abuse |
|
|
Quenty
|
  |
| Joined: 03 Sep 2009 |
| Total Posts: 9316 |
|
|
| 07 Dec 2011 07:33 PM |
Basically, dynamic lighting is too resource extensive. Find a new project or a new game, or... a new computer. With a lot of processors.
It's a love-hate relationship.... |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 07:36 PM |
"1.- Add a part. 2.- Add a BlockMesh to it. 3.- Change the VertexColor of the BlockMesh. 4.- Profit?"
I thought you had to also make it have a pure white TextureId.
|
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 09:06 PM |
I have a 4 core processor with multi-threading and hyper-threading... Basically, i3. xD
Too bad, dang stupid locked stuff. It makes our possibilities limited. |
|
|
| Report Abuse |
|
|
JMan42064
|
  |
| Joined: 01 Feb 2010 |
| Total Posts: 2978 |
|
|
| 07 Dec 2011 09:11 PM |
@Candy Yeah, like the user meshes and music being taken away. Major invention blocker there |
|
|
| Report Abuse |
|
|
| |
|
|
| 07 Dec 2011 09:14 PM |
| i think I'd actually be happier if sounds could be uploaded again apposed to meshes (i can live without :\) |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 09:15 PM |
"Yeah, like the user meshes and music being taken away. Major invention blocker there"
These were taken away for a reason. |
|
|
| Report Abuse |
|
|
JMan42064
|
  |
| Joined: 01 Feb 2010 |
| Total Posts: 2978 |
|
|
| 07 Dec 2011 09:16 PM |
@Julien Yeah, I know why they were removed, all because people were priviledge abusing and making "inappropriate" things. I know I'm a 10'er, but I know my ROBLOX :D |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 09:48 PM |
| So wait, client side lighting? That's only possible with GUIs. I'm not an expert on GUIs, but I can try to help anyway. |
|
|
| Report Abuse |
|
|
|
| 07 Dec 2011 10:37 PM |
^But that's not really lighting.
|
|
|
| Report Abuse |
|
|