I'm using a CityEngine rule to texture building roofs in an area, using a single aerial photo. When I try to use the rule (exported as rpk with the aerial photo included) in AG Pro, the texture is being applied as far as I can tell, but not properly - it seems as if the same bit is being applied to every building. Since it's not possible to change the attributes of a procedural fill layer on a per-shape basis like in CE(?), does this mean that this texturing method can't be used in AGP?
(The projection's the same and meter-based).
Here's the relevant CGA:
RoofTextureFromBasemap -->
setupProjection(0, world.xz, Map_Size_X, Map_Size_Z)
set(material.colormap, Map_Path_Aerial)
projectUV(0)
translateUV(0, -Map_Offset_X/Map_Size_X, -Map_Offset_Z/Map_Size_Z)
scaleUV(0,1,-1)
Screenshot(s), top CE, bottom AGP: