I'm trying to make a glowing gun with full part is glowing but somehow I can't make some part have emessive like flashlight and grip, I have changed texture to emessive and emmesivestrong but it's not solve the problem. Please help me fix this issue
https://i.imgur.com/ZAlrvMt.png
Cant make some part have glowing
Re: Cant make some part have glowing
emissive shader might have an emissive strength control components in code that refer to per-vertex data or per-texture data. May be texture's alpha channel is a strength of a emissive, or may be per-vertex red/green or blue is a strength (or dimmer). make several cubes next to the weapon and attach them to the weapon. then paint them per-vertex to Cyan, another to Magenta and the third one to Yellow. Then assign the same material as the rest of the weapon and test in game. I think some (or one) of them will glow stronger than another. then make a consideration based on result which color components give stronger glow.
-
- Posts: 30
- Joined: Sat Nov 26, 2022 2:51 am
Re: Cant make some part have glowing
Yes I tried the same material with the flashlight to some cube and attached to weapon, the cube still glowing and the flashlight don't. This happend same with the supressor and I have to download an addons supressor and have make it glowing normal.Oleg wrote: ↑Thu Nov 28, 2024 12:06 am emissive shader might have an emissive strength control components in code that refer to per-vertex data or per-texture data. May be texture's alpha channel is a strength of a emissive, or may be per-vertex red/green or blue is a strength (or dimmer). make several cubes next to the weapon and attach them to the weapon. then paint them per-vertex to Cyan, another to Magenta and the third one to Yellow. Then assign the same material as the rest of the weapon and test in game. I think some (or one) of them will glow stronger than another. then make a consideration based on result which color components give stronger glow.
Re: Cant make some part have glowing
have I got this right - you create a cube, assign the same material and attach it to your model and this cube glows fine in game? then solve the problem with your geometry object, as the material/shader/textures setup is correct.
-
- Posts: 30
- Joined: Sat Nov 26, 2022 2:51 am
Re: Cant make some part have glowing
The cube is glowing fine but the flashlight don't even tho using the same material
Re: Cant make some part have glowing
read per-vertex color from cube and paint this per-vertex color onto problematic geometry vertices. note, the game uses red per-vertex color component to dim the mesh (fake AO shadows), so if you paint mesh per-vertex color to white, the model might be too bright in day-time.
-
- Posts: 30
- Joined: Sat Nov 26, 2022 2:51 am
Re: Cant make some part have glowing
I dont know where is that but here is my material setting, full body of my gun are glowing very well but the grip and the body of the flashlight are notOleg wrote: ↑Thu Nov 28, 2024 3:20 am read per-vertex color from cube and paint this per-vertex color onto problematic geometry vertices. note, the game uses red per-vertex color component to dim the mesh (fake AO shadows), so if you paint mesh per-vertex color to white, the model might be too bright in day-time.
https://i.imgur.com/vl7dHR4.png
Here is the part are glowing: https://i.imgur.com/lojAcyL.png
This is the part not glowing even tho using the same material as the above: https://i.imgur.com/v4ZMHE7.png
Re: Cant make some part have glowing
no.
Surface\Paint\Color tool is the one I'm talking about. this tool reads/paints per-vertex color on a geometry object.
Surface\Paint\Color tool is the one I'm talking about. this tool reads/paints per-vertex color on a geometry object.