Preet,
Perhaps the problem is lack of precision in your BillboardRotate uniform
(double - float).
Maybe you can try a different approach: transform your vertex into View
space (or Clip space) and then apply the ModelPosition offsets there. Just
an idea.
Glenn Waldron / @glennwaldron
On Sun,
Hiya,
This is somewhat related to my last thread (maybe I should have just
explained the situation from the beginning).
I'm trying to create a shader that does billboarding for hundreds of
objects at once (where using AutoTransform is too slow). I merge all these
objects together to reduce the
2 matches
Mail list logo