Package fcagnin.jgltut.framework.SceneBinders

Examples of fcagnin.jgltut.framework.SceneBinders.UniformVec3Binder


        lightProjMatBinder = new UniformMat4Binder();
        SceneBinders.associateUniformWithNodes( nodes, lightProjMatBinder, "cameraToLightProjMatrix" );
        SceneBinders.setStateBinderWithNodes( nodes, lightProjMatBinder );

        camLightPosBinder = new UniformVec3Binder();
        SceneBinders.associateUniformWithNodes( nodes, camLightPosBinder, "cameraSpaceProjLightPos" );
        SceneBinders.setStateBinderWithNodes( nodes, camLightPosBinder );

        int unlit = scene.findProgram( "p_unlit" );
        sphereMesh = scene.findMesh( "m_sphere" );
View Full Code Here


        lightProjMatBinder = new UniformMat4Binder();
        SceneBinders.associateUniformWithNodes( nodes, lightProjMatBinder, "cameraToLightProjMatrix" );
        SceneBinders.setStateBinderWithNodes( nodes, lightProjMatBinder );

        camLightPosBinder = new UniformVec3Binder();
        SceneBinders.associateUniformWithNodes( nodes, camLightPosBinder, "cameraSpaceProjLightPos" );
        SceneBinders.setStateBinderWithNodes( nodes, camLightPosBinder );

        int unlit = scene.findProgram( "p_unlit" );
        sphereMesh = scene.findMesh( "m_sphere" );
View Full Code Here

TOP

Related Classes of fcagnin.jgltut.framework.SceneBinders.UniformVec3Binder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.