Sorry for delayed reply.
My goal is to open and display .osgt files on android the same way they can be
opened on desktop. This includes using several lights inside a model, both
directional and point lights.
I have some progress with writing shaders, but I have troubles with
understanding
Hi Grigoriy,
why don't you do the multiply in the shader like you do with gl_vertex?
- Werner -
Am 16.11.2018 um 12:29 schrieb Grigoriy Mylnikov:
> Sorry for delayed reply.
>
> My goal is to open and display .osgt files on android the same way they can
> be opened on desktop. This includes
After some trial and errors, I managed to do it in shader. But this means one
redundant matrix multiplication per each vertex. Isn't it more effective to
compute it once per frame on cpu side?
What's the purpose of state.getModelViewMatrix()? I expected to get a
camera*model matrix there. Or
Is there someone here who delete my entire osf forum login account?
http://forum.openscenegraph.org/viewtopic.php?p=75088#75088
My email address with that account is
powerus...@live.com.au.
?
From: osg-users on behalf of
4 matches
Mail list logo