Jump to content
  • Advertisement

Dmitrty Alexeev

Member
  • Content Count

    2
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Dmitrty Alexeev

  • Rank
    Newbie

Personal Information

  • Interests
    Programming

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dmitrty  Alexeev

    shader error

    to load shader it turns out, but it isn't compiled on embarcadero xe4, and on delphi 2006 turbo it is compiled.
  2. Dmitrty  Alexeev

    Unreal shader error

    Hi! my problem, shader isn't compiled, help pleasewho will be able, I do the program on embarcadero xe4. here two shader error code 0// frag uniform sampler2D tex0; uniform sampler2D tex1; uniform sampler2D dot3; uniform float phase; varying vec4 tc; varying vec4 dc; void main (void) { vec4 with = tc + texture2D (dot3, vec2 (dc.x + phase, dc.z)) * 0.4; gl_FragColor = texture2DProj (tex0, c) * 0.4 + texture2DProj (tex1, c) + vec4(0, 0, 0,-0.87); } _______________________________________________________________________________//vert varying vec4 tc; varying vec4 dc; varying vec3 eye; void main (void) { const mat4 m = mat4 (0.5, 0.0, 0.0, 0.0, 0.0, 0.5, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.5, 0.5, 0.0, 1.0); gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex; tc = m * gl_Position; dc = gl_Vertex * 0.025; } __________________________________________________________________________________
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!