Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Core/Libraries/Source/WWVegas/WW3D2/pointgr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1790,7 +1790,7 @@ void PointGroupClass::RenderVolumeParticle(RenderInfoClass &rinfo, unsigned int
// 3 times per particle when we can do it once
float recipDepth = 0.1f / (float)depth;

float shiftInc = ( t * *current_size * recipDepth );
float shiftInc = t * (current_size ? *current_size : DefaultPointSize) * recipDepth;

Vector3 volumeLayerShift;
Vector3 cameraPosition = rinfo.Camera.Get_Position();
Expand Down