Lighting -1 reply

Please wait...

Terath

I don't spend enough time here

50 XP

20th September 2008

0 Uploads

32 Posts

0 Threads

#1 10 years ago

This is probably more of me being a newb, but I thought I might ask anyways.

So I was putting some lights in, and noticed that for example under bounty textures, there is the new wall light, and the new wall light glow (a shader i think) And they seem to match up, the glow lines with the wall texture.

Is there any way to basically combine the two so that the glow shows up in the slots?

EDIT: Um... nevermind it did it on its own now.... not sure what I did wrong the first time.

But on that note, to make the post useful, is there a way to block a light from shining through a certain area but for whatever is blocking it to not be seen? I have a model of a torch pedestal type object, and the light goes through a side of it and shows up on a place where it wouldn't, so I want to try and block that out but all of my attempts have failed.




Jonny2199

Click >HERE< to find an idiot.

50 XP

18th September 2005

0 Uploads

1,046 Posts

0 Threads

#2 10 years ago

Not sure what you mean exactly, but you can use negative light values to effectively "subtract" light (good for bottomless pits - it'd spoil the fun if the bottom was visible)




Terath

I don't spend enough time here

50 XP

20th September 2008

0 Uploads

32 Posts

0 Threads

#3 10 years ago

Well I don't want to block out all of the light... let me try to illustrate... I would just put a screenshot, but it wouldn't really help in clearing it up at all.

+++F+++++yyyyy \\__F__// +xx +|____| xxxxxx__________ +|____|+xxx| +|____|+xxx| +|____|____|

Okay so the odd object thing on the left side represents the torch pedastal... like the fixture that holds the flame. The "F"s represent the fire, and "x"s represent where the light is shining, though it should not be shining through the model. And the "y"s are just to show the light that shines where it is supposed to shine.

The light should not cross through the // on the side to the Xs, so since the model itself is not blocking the light, is there a way to block the light with another brush or entity etc. The "+"s are just there for spacing so ignore them as if they are background

I hope that is clearer. :/

I'm actually going to put a screenshot in, and you can kinda pair them up and maybe it will help more.

Down and to the right of the cursor you can see the edge is glowing a bit, but the model has a piece that should be blocking it from shining there?

Spoiler: Show
lightproblem.jpg



N-7

... and a nice big Cip-Quad

50 XP

21st September 2007

0 Uploads

579 Posts

0 Threads

#4 10 years ago

Terath;4608713The light should not cross through the // on the side to the Xs, so since the model itself is not blocking the light, is there a way to block the light with another brush or entity etc. The "+"s are just there for spacing so ignore them as if they are background

I hope that is clearer. :/

Ha ha, this post is sooo funny. Nice use of ASCII art there, pal. Well, it does make your predicament clearer. Unfortunately, I know squat about mapping. Uhm, yeah sorry for this utterly useless post.




Darth NormaN

Mapper since JK2

50 XP

31st December 2005

0 Uploads

141 Posts

0 Threads

#5 10 years ago

hm models actually do block light.. maybe it helps to move the light a bit more closer to the model also, what about doing a point light that leads the light only to the top?




Terath

I don't spend enough time here

50 XP

20th September 2008

0 Uploads

32 Posts

0 Threads

#6 10 years ago

I think I fixed it, but I'll try that too to see if it looks better, thanks.