#Mesh Batching

1 messages · Page 1 of 1 (latest)

hardy yew
unique gale
#

Most likely the sorting order?

hardy yew
#

i tried changing the priority order but it also does not help when it renders meshes

unique gale
#

You control with render queue

#

on the material

hardy yew
#

render queue does work when it comes to rendering materials, but apparently not when it comes to mesh rendering

unique gale
hardy yew
#

first mesh

#

Second mesh

#

thirs mesh

#

on the right side you can see the material of the selected mesh

#

and it displays their render queue

unique gale
hardy yew
unique gale
#

Is it?

hardy yew
#

it says that it draws meshes

unique gale
#

It is shadowcaster

unique gale
hardy yew
#

yeah i can see shadow caster

#

but then what does it mean?

unique gale
#

So it’s the part that draws shadow

#

Not the mesh itself

#

The shadow that the mesh makes

hardy yew
#

um alright, so i cannot batch shadows?

#

shadow casting*

#

in that case this issue happens not only in shadow casting, but also here

#

there are only 4 different meshes name the same way default_LOD

#

but they are both batched and separated between themselves

unique gale
hardy yew
#

they are all the same queue

#

and i dont think its practical to give unique render queue for each mesh 😅

unique gale
#

Not each mesh but each material

#

If you really want them to batch

hardy yew
#

mm so create textureatlas for meshes.. problem is each mesh is 1024 size

#

and there are quite a lot of meshes

#

in this situation texture atlas is not the best solution, so im searching a way to order the camera to render meshes in specific order without affecting the render queue