Search the Community
Showing results for tags 'shaders glsl'.
-
Hello, I would really like to use normal maps in pixi.js but I don't know how. I've came across a good example with THREE.js and using webgl shaders - clickOnDemo (sometimes it's necessary to click once on the image to work). So I really wanted to replicate it but using pixi, I gave it a shot aand black screen - myDemo . I don't get errors and I'm not sure what I'm doing wrong. Could the problem be in the way I'm creating the mesh? I've checked other example from pixi's page in which shader with heightmap is used on a mesh and works perfectly fine - pixiExample. I'll be very grateful if I get this normal map thing working.
- 3 replies
-
- pixi5
- normal map
-
(and 2 more)
Tagged with:
-
I am basically asking the Babylon.js equivalent of this: http://stackoverflow.com/questions/15663859/threejs-predefined-shader-attributes-uniforms/15664900#15664900 In the tutorials I see that there are some uniforms supplied from the application code (like uniforms and view matrices) is there a place somewhere where the things that are provided automatically are documented?