Bug #552

renderer2: missing foliage support

Added by ZTM almost 5 years ago. Updated about 1 year ago.

Status:Fixed% Done:

100%

Priority:HighSpent time:-
Assignee:ryven
Category:Client
Target version:renderer2
OS:Linux Arch:64-bit

Description

Radar level uses foliage extensively for plants and rain drop splashes. They are missing when using opengl2 renderer.

Using opengl2 the console shows warnings that "distanceCull" shader keyword is not implemented when loading Radar. distanceCull is used for fading out foliage at a distance in opengl1 renderer.

In src/renderer2/tr_bsp.c in R_LoadSurfaces, MST_FOLIAGE is treated as a triangle mesh and has a comment "TODO ParseFoliage".


Related issues

Related to ET: Legacy Development - Bug #554: renderer2: shader parser issues Fixed 02.08.2014
Related to ET: Legacy Development - Bug #621: renderer2: Skybox issues on some maps Fixed 11.11.2014
Related to ET: Legacy Development - Bug #555: renderer2: discolored puddle in Radar Fixed 03.08.2014
Related to ET: Legacy Development - Bug #1058: renderer2: buildcubemaps command doesn't work Fixed 31.08.2017

Associated revisions

Revision d2378ce4
Added by Jacker almost 5 years ago

r2: added part of the foliage code, refs #552

Revision f35f11b0
Added by IR4T4 over 1 year ago

renderer2: activate Tess_SurfaceFoliage refs #552

Revision 1f1f4901
Added by IR4T4 over 1 year ago

renderer2: hello foliage vbo/ibo refs #552

Revision b327052d
Added by IR4T4 over 1 year ago

renderer2: adjust foliage data structure refs #552, typo fix

Revision 88a9e67f
Added by IR4T4 over 1 year ago

renderer: tiny changes for foliage refs #552, rework of
Tess_SurfacePolychain - merged from daemon engine

Revision 30da8a09
Added by ryven over 1 year ago

renderer2: add foliage, fix surface vertex lit

adds support for vbo/software foliage (r_vboFoliage)
fixes surface vertex lighting
refs #552, #555

History

#1 Updated by IR4T4 almost 5 years ago

  • Related to Bug #554: renderer2: shader parser issues added

#2 Updated by IR4T4 almost 5 years ago

  • Target version set to renderer2

#3 Updated by IR4T4 over 4 years ago

  • Related to Bug #621: renderer2: Skybox issues on some maps added

#5 Updated by Mateos about 2 years ago

This is to make a sprite effect, not randomly setting a particular model on a surface ^^'

#6 Updated by IR4T4 over 1 year ago

  • Priority changed from Normal to High

#7 Updated by IR4T4 over 1 year ago

  • Related to Bug #555: renderer2: discolored puddle in Radar added

#8 Updated by IR4T4 over 1 year ago

  • Related to Bug #1058: renderer2: buildcubemaps command doesn't work added

#9 Updated by IR4T4 over 1 year ago

create foliage vbo

fog doesn’t want to cooperate with foliage triangles

#10 Updated by IR4T4 about 1 year ago

  • Status changed from New to Fixed
  • Assignee set to ryven
  • % Done changed from 0 to 100

Also available in: Atom PDF