2012-03-16 13:42:53 +08:00
|
|
|
/****************************************************************************
|
|
|
|
Copyright (c) 2011 Zynga Inc.
|
2014-01-07 11:25:07 +08:00
|
|
|
Copyright (c) 2012 cocos2d-x.org
|
|
|
|
Copyright (c) 2013-2014 Chukong Technologies Inc.
|
2012-03-16 13:42:53 +08:00
|
|
|
|
|
|
|
http://www.cocos2d-x.org
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
|
|
of this software and associated documentation files (the "Software"), to deal
|
|
|
|
in the Software without restriction, including without limitation the rights
|
|
|
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
|
|
copies of the Software, and to permit persons to whom the Software is
|
|
|
|
furnished to do so, subject to the following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
|
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
|
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
|
|
THE SOFTWARE.
|
|
|
|
****************************************************************************/
|
|
|
|
|
2014-05-01 10:09:13 +08:00
|
|
|
#include "2d/ccShaders.h"
|
2012-03-16 13:42:53 +08:00
|
|
|
|
|
|
|
NS_CC_BEGIN
|
|
|
|
//
|
|
|
|
const GLchar * ccPosition_uColor_frag =
|
|
|
|
#include "ccShader_Position_uColor_frag.h"
|
|
|
|
const GLchar * ccPosition_uColor_vert =
|
|
|
|
#include "ccShader_Position_uColor_vert.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
const GLchar * ccPositionColor_frag =
|
|
|
|
#include "ccShader_PositionColor_frag.h"
|
|
|
|
const GLchar * ccPositionColor_vert =
|
|
|
|
#include "ccShader_PositionColor_vert.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
const GLchar * ccPositionTexture_frag =
|
|
|
|
#include "ccShader_PositionTexture_frag.h"
|
|
|
|
const GLchar * ccPositionTexture_vert =
|
|
|
|
#include "ccShader_PositionTexture_vert.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
const GLchar * ccPositionTextureA8Color_frag =
|
|
|
|
#include "ccShader_PositionTextureA8Color_frag.h"
|
|
|
|
const GLchar * ccPositionTextureA8Color_vert =
|
|
|
|
#include "ccShader_PositionTextureA8Color_vert.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
const GLchar * ccPositionTextureColor_frag =
|
|
|
|
#include "ccShader_PositionTextureColor_frag.h"
|
|
|
|
const GLchar * ccPositionTextureColor_vert =
|
|
|
|
#include "ccShader_PositionTextureColor_vert.h"
|
|
|
|
|
2013-12-06 13:24:59 +08:00
|
|
|
//
|
|
|
|
const GLchar * ccPositionTextureColor_noMVP_frag =
|
|
|
|
#include "ccShader_PositionTextureColor_noMVP_frag.h"
|
|
|
|
const GLchar * ccPositionTextureColor_noMVP_vert =
|
|
|
|
#include "ccShader_PositionTextureColor_noMVP_vert.h"
|
|
|
|
|
2012-03-16 13:42:53 +08:00
|
|
|
//
|
|
|
|
const GLchar * ccPositionTextureColorAlphaTest_frag =
|
|
|
|
#include "ccShader_PositionTextureColorAlphaTest_frag.h"
|
|
|
|
|
|
|
|
//
|
|
|
|
const GLchar * ccPositionTexture_uColor_frag =
|
|
|
|
#include "ccShader_PositionTexture_uColor_frag.h"
|
|
|
|
const GLchar * ccPositionTexture_uColor_vert =
|
|
|
|
#include "ccShader_PositionTexture_uColor_vert.h"
|
|
|
|
|
2012-11-13 11:06:32 +08:00
|
|
|
const GLchar * ccPositionColorLengthTexture_frag =
|
|
|
|
#include "ccShader_PositionColorLengthTexture_frag.h"
|
|
|
|
const GLchar * ccPositionColorLengthTexture_vert =
|
|
|
|
#include "ccShader_PositionColorLengthTexture_vert.h"
|
|
|
|
|
2013-12-13 12:42:15 +08:00
|
|
|
const GLchar * ccLabelDistanceFieldNormal_frag =
|
2014-03-20 20:56:10 +08:00
|
|
|
#include "ccShader_Label_frag_df.h"
|
2013-12-13 12:42:15 +08:00
|
|
|
|
|
|
|
const GLchar * ccLabelDistanceFieldGlow_frag =
|
2014-03-20 20:56:10 +08:00
|
|
|
#include "ccShader_Label_frag_df_glow.h"
|
|
|
|
|
|
|
|
const GLchar * ccLabelNormal_frag =
|
|
|
|
#include "ccShader_Label_frag_normal.h"
|
2013-12-13 12:42:15 +08:00
|
|
|
|
2014-03-05 16:51:16 +08:00
|
|
|
const GLchar * ccLabelOutline_frag =
|
2013-12-13 12:42:15 +08:00
|
|
|
#include "ccShader_Label_frag_outline.h"
|
2014-03-20 20:56:10 +08:00
|
|
|
|
|
|
|
const GLchar * ccLabel_vert =
|
2013-12-13 12:42:15 +08:00
|
|
|
#include "ccShader_Label_vert.h"
|
|
|
|
|
2012-03-16 13:42:53 +08:00
|
|
|
NS_CC_END
|