OpenGL note - Fragment program [fp simple]
ในที่สุดก็เพิ่ม fragment shader เข้าไปเช่นกัน
และยังใช้ ARB_fragment_shader ด้วย update เพิ่ม dialog สลับระหว่าง editor fragment shader menu - fragment shader enable
สำหรับ ตัวอย่างเบื่องต้น
!!ARBfp1.0 TEMP Tcoord1, Tcolor1;
MOV Tcoord1, fragment.texcoord[0]; TEX Tcolor1, Tcoord1, texture[0], 2D;
MOV result.color, Tcolor1;
END
Create Date : 24 มิถุนายน 2548 |
Last Update : 8 กรกฎาคม 2548 23:36:55 น. |
|
0 comments
|
Counter : 658 Pageviews. |
|
|
|
|
|