Clean up the shell shader. Last commit from here.
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
void main() {
|
void main() {
|
||||||
vec4 position = gl_Vertex + vec4(gl_Normal, 1.0) * 0.125;
|
vec4 position = vec4(gl_Vertex.xyz + gl_Normal * 0.125, 1.0);
|
||||||
// prevent skewing
|
|
||||||
position.w = 1.0;
|
|
||||||
|
|
||||||
gl_Position = gl_ModelViewProjectionMatrix * position;
|
gl_Position = gl_ModelViewProjectionMatrix * position;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -808,8 +808,6 @@ bool RageDisplay_Legacy::IsZWriteEnabled() const
|
|||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void
|
void
|
||||||
RageDisplay_GLES2::ClearZBuffer()
|
RageDisplay_GLES2::ClearZBuffer()
|
||||||
{
|
{
|
||||||
@@ -961,6 +959,7 @@ RageDisplay_GLES2::DrawLineStripInternal( const RageSpriteVertex v[], int iNumVe
|
|||||||
// TODO
|
// TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Is this even used?
|
||||||
void
|
void
|
||||||
RageDisplay_GLES2::DrawSymmetricQuadStripInternal( const RageSpriteVertex v[], int iNumVerts )
|
RageDisplay_GLES2::DrawSymmetricQuadStripInternal( const RageSpriteVertex v[], int iNumVerts )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user