Skip to content

Start typing to see game suggestions. This only suggests apps that have a store page.

Only apps with a store page are suggested. Enter Submit to view all results. Ctrl+Enter View and filter in instant search.
Close ×

3D Sprite Renderer and Convex Hull Editor update for 4 March 2017

Version 7 and Perspective Orientability

Share · View all patches · Build 1670161 · Last edited by Wendy

Patchnotes via Steam Community

With version 7 we now have fully working perspecitive projection orientability maps.

https://github.com/dmdware/sped/blob/master/shaders/orpersp2.frag
https://github.com/dmdware/sped/blob/master/shaders/orpersp2.vert

The advantage of using orientability maps compared to using 100's+ of vertices per model is the great reduction in matrix multiplication, along with unlimited detail and other mentioned benefits.

Check the "up_info2.txt" example included in the "renders/" folder for an example of orientability maps in action.

Note: although a matrix multiplication is used at the end of the perspective fragment shader to obtain fragment depth, this can be simplified (eg, using a dot product, a scale and offset), resulting in only four matrix operations in the vertex shader. Parameters such as search jump offsets, minimum discard distance and number of search steps could also be adjusted based on object distance, detailization, and other factors.

3D Sprite Renderer and Convex Hull Editor Content Depot 468901
  • Loading history…
SteamDB has been running ad-free since 2012.
Find out how you can contribute.
Open link