mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-29 13:56:32 +08:00
This commit is contained in:
1 parent
13dbacad15
commit
f71000befd
45 files changed
+4383
-422
No files matched your search
@@ -47,8 +47,7 @@ func (r *u3dRender) outlineFace(outline *u3dOutline, world [3]u3dVector, vertice
|
||||
return err
|
||||
}
|
||||
}
|
||||
index, ok := r.shaders[name]
|
||||
if !ok || r.model.Shaders[index].RenderPass&(1<<passIndex) != 0 {
|
||||
if r.shaderPass(name)&(1<<passIndex) != 0 {
|
||||
active = true
|
||||
break
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user