[DiscordArchive] <@250706991515828224> what are you doing to MOCV besides multiplying it by 2 prior to rendering?
[DiscordArchive] <@250706991515828224> what are you doing to MOCV besides multiplying it by 2 prior to rendering?
Archived author: Deamon • Posted: 2018-07-26T23:12:40.016000+00:00
Original source
aColor.a is completely ignored
Archived author: Skarn • Posted: 2018-07-26T23:13:06.042000+00:00
Original source
what is it?
Archived author: Deamon • Posted: 2018-07-26T23:13:36.960000+00:00
Original source
shit from blizz's glsl.... they pass first MOCV in vColor2 for some reason
Archived author: Deamon • Posted: 2018-07-26T23:14:16.740000+00:00
Original source
the result that I was showing to you is gotten with this formula:
```
finalColor = vec4(tex.rgb * (vColor2.rgb + uAmbientLight.rgb ), tex.a);
```
Archived author: Deamon • Posted: 2018-07-26T23:14:35.138000+00:00
Original source
so you can ignore vColor (but not vColor2)
Archived author: Skarn • Posted: 2018-07-26T23:14:54.293000+00:00
Original source
my last bet would be that multiplying is working wrong
Archived author: Skarn • Posted: 2018-07-26T23:15:03.917000+00:00
Original source
MOCV is just regular multiplicative?
Archived author: Skarn • Posted: 2018-07-26T23:15:09.682000+00:00
Original source
no division by 0x7F or such?