free garden
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/b0Xted/btqBTMr2XUp/gnjgb1aurI22weeFkrELL0/img.png)
Creating a noise texture using GLM #include GLubyte *data = new GLubyte[width * height * 4]; float xFactor = 1.0f / (width - 1); float yFactor = 1.0f / (height - 1); for (int row = 0; row < height; ++row) { float y = yFactor * row; for (int col = 0; col < width; ++col) { float x = xFactor * col; float sum = 0.0f; float freq = a; float scale = b; // Compute the sum for each octave for (int oct = ..
![](http://i1.daumcdn.net/thumb/C150x150/?fname=https://blog.kakaocdn.net/dn/V6fRa/btqzxCdIrqs/WVZrYMtpoxuHbNWDkoc1zk/img.png)
Vertex and fragment shaders OpenGL 4.3 이상부터는 셰이더에 다음 여섯 가지 단계가 있다. 이번 장에서는 Vertex와 Fragment 단계에 대해서 알아본다. (2 ~ 4는 Chap 7, 6은 Chap 11 에서 다룰 예정이다.) 1. Vertex 2. Geometry 3. Tessellation Control 4. Tessellation Evaluation 5. Fragment 6. Compute Vertex Data는 Shader Input Variable을 통해 버텍스 셰이더(Vertex Shader)에 도달한다. Vertex Shader의 Input Variable를 Vertex Attribute라고 한다. 셰이더에서 Input Variable는 앱에서 전달하기도 하..
* SMTP(Simple Mail Transfer Protocol) - protocol for sending email whether it is from the client or in between servers for propagating the email towards the intended destination- used by the client to send emails to a server but it is also used by servers to push the email to another server- e.g. Microsoft Outlook, Thunderbird, Apple Mail * IMAP - protocol that deals with managing and retrieving..