Hi. I posted this question in other places, but I thought I'd try my luck here. I have an idea for a lamp but I don't really know how to do it. The meshing part I can do. Textures involving Photoshop, I can do. But getting the lamp to behave like a lamp, I don't know how to do. I think it involves vertex paint and shaders...and that's about it.
Guess what? I am actually LolaBelleSims; previously, SimPeopleRampage. I changed the name in honor of my daughter who passed away in 2014. We called her Lolabelle & it's her fault I'm addicted to the Sims, anyway, the booger. You can find my junk at Lolabellesims.tumblr.com and at The Sims Resource.
0
Comments
Edit: I went into my post above to correct a misspelled word and the forum changed the word "plum" back to "idiot." Now, if the word "idiot" is substituted in this post then I am going go to bed and give up on trying to communicate. Erg.
Vertex paint does not need to be applied in order for your lamp to work but it does enhance the in-game appearance of a lamp item if you do use it. Sims 4 lamps use vertex paint to tell the game what part of the lamp mesh should brighten when the light is turned on and how much it should brighten by. For example, here is an EA lamp with vertex paint displayed on it in Blender:
The areas that are white will light up more than the areas that are grey when the light is turned on in the game. This increases the impression of the item being a lamp by making it look more like a real lamp does when you turn it on...the lampshade is affected by the bulb's light more than the base is. Again, though, you do not have to vertex paint your lamp to make it have a light that turns on and off because the light that is emitted from the lamp comes from the light resource not the vertex paint.
Phong is a technical term that describes a certain method of surface shading in 3D computer graphics. In the Sims 4 it is a shader that is used on many items but you won't have to tinker with shaders for a standard lamp project. The key is to clone a lamp that is similar to the one you want to make...then your new project will have all the properties you need to get started.
Hi @ilovescampers, you're welcome. Also, I've written a new, fully illustrated tutorial specifically on the topic of how to make a new lamp that goes over how to vertex paint your mesh and edit the Light resource if you want to alter the lighting from the original clone. I posted it at Studio forums HERE yesterday.