Hot Search : Source embeded web remote control p2p game More...
Location : Home Downloads SourceCode Other ELanguage

vshader.glsl

  • Category : ELanguage
  • Tags :
  • Update : 2016-03-01
  • Size : 1kb
  • Downloaded :0次
  • Author :Ja***
  • About : Nobody
  • PS : If download it fails, try it again. Download again for free!
Introduction - If you have any usage issues, please Google them yourself
#version 130 in vec4 vPosition in vec4 vColor out vec4 color uniform int xsize uniform int ysize void main() { mat4 scale = mat4(2.0/xsize, 0.0, 0.0, 0.0, 0.0, 2.0/ysize, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0 ) // First, center the image by translating each vertex by half of the original window size // Then, multiply by the scale matrix to maintain size after the window is reshaped vec4 newPos = vPosition + vec4(-200, -360, 0, 0) gl_Position = scale * newPos color = vColor }
Packet file list
(Preview for download)


vshader.glsl
__MACOSX
........\._vshader.glsl
Related instructions
  • We are an exchange download platform that only provides communication channels. The downloaded content comes from the internet. Except for download issues, please Google on your own.
  • The downloaded content is provided for members to upload. If it unintentionally infringes on your copyright, please contact us.
  • Please use Winrar for decompression tools
  • If download fail, Try it againg or Feedback to us.
  • If downloaded content did not match the introduction, Feedback to us,Confirm and will be refund.
  • Before downloading, you can inquire through the uploaded person information

Nothing.

Post Comment
*Quick comment Recommend Not bad Password Unclear description Not source
Lost files Unable to decompress Bad
*Content :
*Captcha :
CodeBus is the largest source code store in internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.