issues
search
bcq028
/
games202-ts
0
stars
0
forks
source link
refactor the render system
#7
Open
bcq028
opened
1 year ago
bcq028
commented
1 year ago
before implementing shadow map, we should:
add RenderEntity, contains Mesh, Material and be the entry to the render system.
add RenderMeshNode, contains RHIMaterial, RHIMesh and transform matrix
add static Visible Nodes, which contains nodes for every pass to draw
and scene will contains RenderEntities. It will contain a method
updateVisibleObjects
to update nodes for RenderPass
remove the maps in scene, add RenderResource, which will plays the role for maps in scene
before implementing shadow map, we should:
updateVisibleObjects
to update nodes for RenderPass