mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
dos2unix
This commit is contained in:
parent
915bd53346
commit
ef7f69b7b0
@ -218,8 +218,8 @@ do_wave(Geom * geom, LMatrix4f net_trans_mat) {
|
||||
// Recompute normals based on height
|
||||
norms.push_back(get_normal(V[0],V[1]));
|
||||
nindex.push_back(k);
|
||||
geom->set_normals(norms, G_PER_VERTEX, nindex);
|
||||
|
||||
geom->set_normals(norms, G_PER_VERTEX, nindex);
|
||||
|
||||
// Vertex color based shading
|
||||
// ** add shade_mode (high, low , all, none)
|
||||
c[0] = (_color_scale + _light_color[0] + (height_change / (2 * _amplitude)))/3.0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user