pex-renderer icon indicating copy to clipboard operation
pex-renderer copied to clipboard

Supported material types

Open vorg opened this issue 2 years ago • 8 comments

Currently we support:

  • pbr with shadows
  • unlit

Would be good to have

  • basic (wrapped)diffuse + shadows - for lightweight scene previz and tools
  • unlit with shadows?

What about?

  • thick line rendering? (ecs.Draw Instanced Segments)
  • particles? (

vorg avatar Jul 14 '22 09:07 vorg

Line rendering would be good to have internally anyway for all the gizmos/helpers.

vorg avatar Jul 14 '22 09:07 vorg

  • Simple primitive line (aka wireframe) before thick lines?

dmnsgn avatar Jul 14 '22 09:07 dmnsgn

gl.Lines are supported. It's a not well known feature but it already works out of the box thanks to pex-context

Screenshot 2022-07-14 at 10 35 20

vorg avatar Jul 14 '22 09:07 vorg

gl.Lines are supported. It's a not well known feature but it already works out of the box thanks to pex-context

Screenshot 2022-07-14 at 10 35 20

But need edges to be computed

dmnsgn avatar Jul 14 '22 09:07 dmnsgn

Any matcap material needed?

dmnsgn avatar Jul 14 '22 09:07 dmnsgn

Haven't used Matcap in ages. For quick debug scenes i've used wrapped diffuse with random color per mesh + sometimes shadows (ecs.Draw Base Color and friends)

vorg avatar Jul 14 '22 10:07 vorg