Questions tagged [rendermonkey]

12 questions
11
votes
2 answers

Does RenderMonkey have a bug in TEXCOORD stream mapping for GLSL?

For clarity, I start with my question: Is it possible to use (in the shader code) the custom attribute name which I set for the TEXCOORD usage in the (OpenGL) stream mapping in RenderMonkey 1.82 or do I have to use gl_MultiTexCoord0? (The question…
Deorbit
  • 293
  • 2
  • 11
3
votes
2 answers

How to export .3ds file for using RenderMonkey from 3dsMax?

How to export .3ds file for using RenderMonkey from 3dsMax 2010? When I look into Stream Mapping in RenderMonkey, there are POSITION, NORMAL, TEXCOORD, TANGENT, BINORMAL, TESSFACTOR etc. I want to know how that information export for sending vertex…
P-P
  • 1,670
  • 5
  • 18
  • 35
3
votes
2 answers

HLSL invalid ps_2_0 input semantic POSITION0

I'm attempting to write a phong shader effect for Dx9 in RenderMonkey. I'm getting a compile error in the pixel shader *"invalid ps_2_0 input semantic 'POSITION0'"* and I'm not sure how to fix it, although I know it's got to be something to do…
fishfood
  • 4,092
  • 4
  • 28
  • 35
2
votes
0 answers

WGL extension and virtualbox

I'm currently trying to use the old Rendermonkey 1.82 on a WinXP virtual machine running in VirtualBox 4.3.8. Sadly it doesn't work for OpenGL, unable to find WGL extensions (exact error msg is: "WGL PBuffer extensions not detected - please update…
2
votes
1 answer

RenderMonkey / GLSL camera & viewpos

How do I make the vec3 viewpos follow the values of the camera? Presumably they should be the same but I don't know how to access the camera's position values.
JohnM
  • 21
  • 1
1
vote
0 answers

Shadow Map in RenderMonkey

I'm trying to create a shader that generates a shadow on a terrain, for a teapot. I have it working, for the most part, though I'm having a strange issue where I have a main shadow, but also lots of smaller teapot shadows. And it's kind of leaving…
Samuel Slade
  • 8,405
  • 6
  • 33
  • 55
1
vote
1 answer

RenderMonkey opengles example compile failed with error C0118: macros prefixed with 'GL_' are reserved

I trying to use RenderMonkey 1.82 on Win10 PC, and graphics card is NVIDIA Geforce 405 v342.01. I cannot use the OpenGL ES examples that comes with it. I remember once I could do this on another machine. Is this an compatibility problem? Vertex…
QZHua
  • 354
  • 2
  • 10
1
vote
1 answer

Shader programming , create light interaction to image

I am trying to learn shader programming in RenderMonkey, if I took a picture and want to apply some light interaction to that object. How should I do this in a good way, I do not want to use the default openGL light, want do define one by myself.…
user4390280
  • 33
  • 10
0
votes
1 answer

Modifying a uniform variable inside a shader program to be used by another shader program - RenderMonkey

RenderMonkey is pretty ancient so I'm struggling to find a way to do this. To be clear, the only reason I'm using RenderMonkey is because it's for a University assignment. RenderMonkey allows you to define uniform variables in the workspace that…
notanidiot
  • 17
  • 2
0
votes
1 answer

RenderMonkey not recognising my variables

My HLSL shader takes a parameter: , uniform float4x4 wm Putting this into RM I get an error : "Missing shader constant parameter named '$wm'" I created a 4x4 matrix variable wm but it doesn't change anything (and you aren't allowed to add $wm). How…
Mr. Boy
  • 60,845
  • 93
  • 320
  • 589
0
votes
1 answer

glsl es const mat2 array

I try to compile the following code in Open GL ES 2.0 (in RenderMonkey): const mat2 ma[2] = mat2[2]( mat2( vec2(0.0, -1.0), vec2(1.0, 0.0) ), mat2( vec2(0.0, -1.0), vec2(1.0, 0.0) ) …
tower120
  • 5,007
  • 6
  • 40
  • 88
0
votes
1 answer

Usage of custom and generic vertex shader attributes in OpenGL and OpenGL ES

Since generic vertex attributes are deprecated in OpenGL, I tried to rewrite my vertex shader using only custom attributes. And I didn't work for me. Here is the vertex shader: attribute vec3 aPosition; attribute vec3 aNormal; varying vec4…
Anton Jebrak
  • 592
  • 5
  • 8