[DiscordArchive] are you using vertex colors?
[DiscordArchive] are you using vertex colors?
Archived author: Titi • Posted: 2024-05-30T00:00:32.326000+00:00
Original source
are you using vertex colors?
Archived author: Titi • Posted: 2024-05-30T00:00:44.925000+00:00
Original source
WMO doodads also have a color
![[Image: image.png?ex=690c8e72&is=690b3cf2&hm=ebe...8ff149fb6&]](https://cdn.discordapp.com/attachments/1086807686571642900/1245527840875610143/image.png?ex=690c8e72&is=690b3cf2&hm=ebe92af9dacf2ad434829b963b3b68248ec7967893cffc038fc70048ff149fb6&)
Archived author: badopsec • Posted: 2024-05-30T00:02:58.178000+00:00
Original source
like the animated ones for m2's? yup, here's what the scene looks like before i apply the lighting function
![[Image: image.png?ex=690c8e72&is=690b3cf2&hm=ebe...8ff149fb6&]](https://cdn.discordapp.com/attachments/1086807686571642900/1245527840875610143/image.png?ex=690c8e72&is=690b3cf2&hm=ebe92af9dacf2ad434829b963b3b68248ec7967893cffc038fc70048ff149fb6&)
Archived author: badopsec • Posted: 2024-05-30T00:03:38.161000+00:00
Original source
the lighting function then multiplies the linear space color w/ `localDiffuse`, aka `accumLight`, which is zero when there aren't m2 lights
![[Image: image.png?ex=690c8ef3&is=690b3d73&hm=eee...3dada97f4&]](https://cdn.discordapp.com/attachments/1086807686571642900/1245528385074237552/image.png?ex=690c8ef3&is=690b3d73&hm=eeeafef38ee2db45fb1abcf48b1972e680a2a907a14e1dcf1a5ff933dada97f4&)
Archived author: Titi • Posted: 2024-05-30T00:05:07.778000+00:00
Original source
I'm talking about a WMO doodad setting
![[Image: image.png?ex=690c8ef3&is=690b3d73&hm=eee...3dada97f4&]](https://cdn.discordapp.com/attachments/1086807686571642900/1245528385074237552/image.png?ex=690c8ef3&is=690b3d73&hm=eeeafef38ee2db45fb1abcf48b1972e680a2a907a14e1dcf1a5ff933dada97f4&)
![[Image: image.png?ex=690c8f70&is=690b3df0&hm=4e0...e7071ee06&]](https://cdn.discordapp.com/attachments/1086807686571642900/1245528907646632138/image.png?ex=690c8f70&is=690b3df0&hm=4e0457f734ee9da25286dc29947e42792a37c584eae37b53d40a8fee7071ee06&)
Archived author: Titi • Posted: 2024-05-30T00:07:12.442000+00:00
Original source
the WBS WMO doodad shader is like this, idk how accurate it is
![[Image: image.png?ex=690c8f70&is=690b3df0&hm=4e0...e7071ee06&]](https://cdn.discordapp.com/attachments/1086807686571642900/1245528907646632138/image.png?ex=690c8f70&is=690b3df0&hm=4e0457f734ee9da25286dc29947e42792a37c584eae37b53d40a8fee7071ee06&)
Archived author: badopsec • Posted: 2024-05-30T00:07:18.613000+00:00
Original source
ah yup, i'm using that as the `interiorDirectColor` (to use WebWowViewer's terms)
Archived author: Titi • Posted: 2024-05-30T00:08:20.802000+00:00
Original source
it's mixed with white
![[Image: image.png?ex=690c8fc7&is=690b3e47&hm=6f8...39561bf8e&]](https://cdn.discordapp.com/attachments/1086807686571642900/1245529274358960229/image.png?ex=690c8fc7&is=690b3e47&hm=6f8e4462036b75ca602a9fa459b5fe540fd6d0f236765a07da4666139561bf8e&)
Archived author: badopsec • Posted: 2024-05-30T00:08:39.927000+00:00
Original source
here's each model's doodad color
![[Image: image.png?ex=690c8fc7&is=690b3e47&hm=6f8...39561bf8e&]](https://cdn.discordapp.com/attachments/1086807686571642900/1245529274358960229/image.png?ex=690c8fc7&is=690b3e47&hm=6f8e4462036b75ca602a9fa459b5fe540fd6d0f236765a07da4666139561bf8e&)
Archived author: Titi • Posted: 2024-05-30T00:10:05.849000+00:00
Original source
if WBS shader is accurate, you just need to mix the result(textureXcolor) with white