OSM2World icon indicating copy to clipboard operation
OSM2World copied to clipboard

improve shader export

Open Matthias84 opened this issue 12 years ago • 1 comments

I'm not sure if O2W is currently able to store more complex shaders, but what would be really cool is to get esp. reflections (metal) and transparency (glass). Of course this might look strange with window textures (or they need dedicated alpha channels for this properties), so optional would be a cool idea.

But I guess this needs refactoring, uh?

Matthias84 avatar Jan 30 '13 17:01 Matthias84

For the povray export there's a nice way to solve this. You can always overwrite the materials and textures with custom code. E.g. have a look at texture_BUILDING_WINDOWS in osm2world_definitions.inc for nice reflecting windows!

POVRay window reflections

Regarding transparency, the OpenGL and the povray export support it (e.g. have a look at the power poles, they use transparency). However, there's no generic solution to these problems, yet.

PedaB avatar Feb 03 '13 23:02 PedaB