Added normal maps support to Blender scene exporter and SceneLoader.
Blender normal map support is work-in-progress: - for individual models normal map shader will need to be refactored to use standard scene lights - would be nice to handle also bump maps (a lot of Blender assets do not use "use_normal_map" flag on tangent space normal texture but instead use "use_map_normal" flag on texture slot of grayscale heightmap texture) Also some whitespace cleanup.
Showing
因为 它太大了无法显示 source diff 。你可以改为 查看blob。
想要评论请 注册 或 登录