ECS/Project/Project/Renderers/RendererModules/GaussianBlurRendererModule/GaussianBlurModule.cpp
//	Upload the Gaussian Blur Textures.
Upload the Gaussian Blur Textures.
Upload the Gaussian Blur Textures .
void GaussianBlurModule::uploadGaussianBlurTextures(const GLuint & colorTexture, const GLuint & depthTexture)
{
	glActiveTexture(GL_TEXTURE0 + 35);
	glBindTexture(GL_TEXTURE_2D, colorTexture);
	glUniform1i(gaussianBlurProgramColorTextureLocation, 35);
	glActiveTexture(GL_TEXTURE0);
	glActiveTexture(GL_TEXTURE0 + 36);
	glBindTexture(GL_TEXTURE_2D, depthTexture);
	glUniform1i(gaussianBlurProgramDepthTextureLocation, 36);
	glActiveTexture(GL_TEXTURE0);
}
void GaussianBlurModule :: uploadGaussianBlurTextures ( const GLuint & colorTexture , const GLuint & depthTexture ) { glActiveTexture ( GL_TEXTURE0 + 35 ) ; glBindTexture ( GL_TEXTURE_2D , colorTexture ) ; glUniform1i ( gaussianBlurProgramColorTextureLocation , 35 ) ; glActiveTexture ( GL_TEXTURE0 ) ; glActiveTexture ( GL_TEXTURE0 + 36 ) ; glBindTexture ( GL_TEXTURE_2D , depthTexture ) ; glUniform1i ( gaussianBlurProgramDepthTextureLocation , 36 ) ; glActiveTexture ( GL_TEXTURE0 ) ; }
Upload the Gaussian Blur Textures.
Upload the Gaussian Blur Textures .
//	The Active Texture. //	Bind The Texture. //	Upload the Appropriate Texture. //	 //	The Active Texture. //	Bind The Texture. //	Upload the Appropriate Texture. //	