
It is really a pleasure to see how much Oolite is really developped and extended. all the time.
Moderators: winston, another_commander
Code: Select all
varying vec3 vNormal;
uniform samplerCube uCubeMap;
void main()
{
gl_FragColor = textureCube(uCubeMap, vNormal);
}
Code: Select all
diffuse_map = { name = "ahruman_earth_cube_map.png"; cube_map = yes; };
Oolite Life is now revealed hereSelezen wrote:Apparently I was having a DaddyHoggy moment.
I had no problems with the cubemap test. I could see an asteroid with the world map wrapped seamlessly around it.Killer Wolf wrote:i dumped that cube map test into my trunk but it's not working for me. I used a script to spawn a couple of them on exit from the station. they were on the scanner but i couldn't see anything visually, although my missile manage to lock onto one :-/
Please paste the [rendering.opengl.extensions] report from your log.Killer Wolf wrote:i dumped that cube map test into my trunk but it's not working for me. I used a script to spawn a couple of them on exit from the station. they were on the scanner but i couldn't see anything visually, although my missile manage to lock onto one :-/