![]() |
|
#2
|
|||
|
|||
|
Can you explain what you are trying to accomplish? The getTexCoord() function will return the texture coordinates you assigned to the vertex. Your code is not specifying any texture coordinates, so getTexCoord() will return [0,0,0].
Texture coordinates for cube maps are generally specified as a 3 component normalized direction vector from the center of the cube. |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| 360 panorama image cube using as darts target and record the xy coordinates | mshukun | Vizard | 2 | 03-14-2013 07:17 AM |
| How to render a texture of the transparent object and then blur it | whj | Vizard | 1 | 09-25-2012 04:15 PM |
| Haptic touch texture coordinates | yth | Vizard | 0 | 06-02-2012 04:40 AM |
| Avatar texture swaping | sleiN13 | Vizard | 5 | 06-24-2011 01:48 AM |
| How to apply shader and render texture to an object | whj | Vizard | 0 | 04-23-2010 01:23 PM |