20 years, 9 months ago
Highlights
Here is anisotropic shader(from a web tutorial):struct P_IN{ float4 position : POSITION; float3 normal : NORMAL; float4 texcoord0 : TEXCOORD0;};struct P_OUT{ float4 position : P…
20 years, 9 months ago
20 years, 9 months ago
Hello. I have a problem: I use 2 shaders at the same time for the same object in the scene. First I use anisotropic shader to draw the object with Vertex Buffer Object (VBO) ren…
20 years, 9 months ago
Hello. I'm using OpenGL and .cg shaders to implement Phong shading with multiple lights. I am passing each light's position as a TEXCOORD3, TEXCOORD4, TEXCOORD5 TEXCOORD6 and TE…
20 years, 9 months ago
Hello! I am wondering how to rotate a 3D object in a 3D world. I am using OpenGL and reading the object's Pivot point(x,y,z) from .3ds file. I should probably first translate th…
21 years, 4 months ago
Latest Activity
See all in DiscussionsHere is anisotropic shader(from a web tutorial):struct P_IN{ float4 position : POSITION; float3 normal : NORMAL; float4 texcoord0 : TEXCOORD0;};struct …
20 years, 9 months ago
Hello. I have a problem: I use 2 shaders at the same time for the same object in the scene. …
20 years, 9 months ago
First, Bluntman, I tried to pass the lights as uniform parameters, and 5 lights worked correctly. However, when counting the …
20 years, 9 months ago