Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Terrabus

Pages: [1]
1
Support / Skybox lighting
« on: July 22, 2012, 01:09:37 pm »
As I was writing a question about how to change lighting on a skybox I finally figured it out... Thought I should share:

Code: [Select]
skybox.getWorld().setAmbientLight(r, g, b);
The skybox has it's own world. Tidy.

2
That worked. I misunderstood what that function did. Thanks again EgonOlsen!

3
I'm hoping to do some independent but parallel fade transitions on multiple billboards sharing a single texture in GLES 1.0.
Does this sound doable? If so, can someone please point me in the right direction.

This is (not) exactly what I'm trying to do:
http://jsfiddle.net/Ar96M/

4
Support / Re: Open GL ES 1.0 Lighting
« on: July 09, 2012, 02:44:38 pm »
Looks beautiful on Samsung Galaxy SII. Thank you very much.

5
Support / Re: Two textures on one object, one repeated?
« on: July 02, 2012, 03:32:14 pm »
That's perfect. Thanks again.

6
Support / Re: Two textures on one object, one repeated?
« on: July 02, 2012, 02:18:00 pm »
I tried a few things but haven't won just yet.

I thought I should clarify the goal with an image (attached). Ideally the shadow is stretched and the tiles are tiled.

The model in as a 3ds from Blender to which I've since added another UV map. Can I apply the shadow texture using the second UV map? Assuming I did that correctly, I totally appreciate that you're not Blender support.

Thanks for JPCT AE and the help EgonOlson. You are Batman.

[attachment deleted by admin]

7
Support / Two textures on one object, one repeated?
« on: July 01, 2012, 04:39:44 pm »
Using GLES 1.1, can one stretch one texture across the entire object and repeat another? I've got the two textures blending with TextureInfo, but I can't figure out the next bit. So far I've got this:

Code: [Select]
TextureManager tm = TextureManager.getInstance();
TextureInfo ti = new TextureInfo(tm.getTextureID("tex_ground")); // repeat me 7 times please
ti.add(tm.getTextureID("tex_ground_shadow"), TextureInfo.MODE_MODULATE);
ground.setTexture(ti);

Even with a 'please', the comment doesn't seem to be enough...

Pages: [1]