Git Product home page Git Product logo

Comments (4)

 avatar commented on July 20, 2024

Oh and... FOG+alphablend+alphatest shader will be a good one:) (work together)

from rajawali.

adolgoff avatar adolgoff commented on July 20, 2024

Hello Dennis,
may be I need to create a new issue, but I guess I have the same sort of question.

I tried to create my own multitextured custom material that doesn't use uDiffuseTexture variable in the material fragment shader. Instead of that I tried to pass bitmap to the shader (I've got some code from http://code.google.com/p/opengles-book-samples/source/browse/trunk/Android/Ch10_MultiTexture/src/com/openglesbook/multitexture/?r=45).

I have no problem with it's launch, but after restarting the screen (after being it turned off) I get no textured 3D object. Debugger writes me something like [com.mydomain.wallpapers.mywallpaper.MovingMapMaterial] Could not get uniform location for uDiffuseTexture. So I got a solution for a while – to use uDiffuseTexture and for example uNormanTexture.

But maybe there is some quick way to make the things right, isnt'it?

from rajawali.

xroberx avatar xroberx commented on July 20, 2024

Hi there adolgoff,

It seems multiple diffuse textures are now supported. Take a look at this: 0b518a2

from rajawali.

jayschwa avatar jayschwa commented on July 20, 2024

Use DiffuseMaterial if you want fog support.

from rajawali.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.