vertex shader problem


(3tehakanyuksel) #1

Hi,

I have a problem with vertex shaded surfaces.

I made a planar surface and set it’s shader with something like

tesssize 32
deform vertexes wave …

The plane is correctly tesselated but seems be splitted to many 128x128 surfaces.

+--------+---------+
|...........|.............|
|....1.....|.....2......|
|...........|.............|
+--------+---------+
|...........|.............|
|.....3....|.....4......|
|...........|.............|
+--------+---------+  

For example this whole plane splits to 4 seperate surfaces.


(ydnar) #2

There’s a limit of 64 vertexes per MST_PLANAR surfaces in Quake 3. Silly, yes. Fixable, not unless they put out another PR.

Hence -meta surfaces are limited to 64 vertexes by default.

y