琵琶行论坛

 找回密码
 注册
每日签到论坛FTP使用教学领取红包(开放!)论坛FTP搜索引擎
楼主: kof2112

[新闻] SEGA MODEL3 模拟器 Supermodel SVN r796 (2020/06/11)

[复制链接]

该用户从未签到

发表于 2020-5-10 15:06:36 | 显示全部楼层
[R792]
When the translator map is enabled the colour values seem to use 4 bits, 0-16. Why not 0-31 I don't know. Anyway virtua on is overflowing these values for some of the smoke effects. For us the numbers were wrapping around. Clamping is enough to fix this.
回复 支持 反对

使用道具 举报

该用户从未签到

发表于 2020-5-11 17:13:59 | 显示全部楼层
[R793]
The translator map seems to work with paletted colour values too, and the result is not clamped. Colours are passed to the GPU as unsigned bytes to multiplying by 16 will overflow, so we do the logic in the shader. If we passed floats we could skip the shader logic.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|琵琶行论坛 ( 赣ICP备12000882号 )

GMT+8, 2020-7-8 02:41 , Processed in 0.016514 second(s), 7 queries , Gzip On, MemCached On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表